org.thymeleaf.expression
Class Maps
Object
org.thymeleaf.expression.Maps
public final class Maps
- extends Object
Utility class for performing map operations.
An object of this class is usually available in variable evaluation expressions with the name
#maps.
- Since:
- 1.0
- Author:
- Daniel Fernández
Constructor Summary |
Maps()
|
Method Summary |
|
containsAllKeys(Map<? super X,?> target,
Collection<X> keys)
|
|
containsAllKeys(Map<? super X,?> target,
X[] keys)
|
|
containsAllValues(Map<?,? super X> target,
Collection<X> values)
|
|
containsAllValues(Map<?,? super X> target,
X[] values)
|
|
containsKey(Map<? super X,?> target,
X key)
|
|
containsValue(Map<?,? super X> target,
X value)
|
boolean |
isEmpty(Map<?,?> target)
|
int |
size(Map<?,?> target)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maps
public Maps()
size
public int size(Map<?,?> target)
isEmpty
public boolean isEmpty(Map<?,?> target)
containsKey
public <X> boolean containsKey(Map<? super X,?> target,
X key)
containsValue
public <X> boolean containsValue(Map<?,? super X> target,
X value)
containsAllKeys
public <X> boolean containsAllKeys(Map<? super X,?> target,
X[] keys)
containsAllKeys
public <X> boolean containsAllKeys(Map<? super X,?> target,
Collection<X> keys)
containsAllValues
public <X> boolean containsAllValues(Map<?,? super X> target,
X[] values)
containsAllValues
public <X> boolean containsAllValues(Map<?,? super X> target,
Collection<X> values)
Copyright © 2012 The THYMELEAF team. All Rights Reserved.