Package org.thymeleaf.expression
Class Maps
- Object
-
- org.thymeleaf.expression.Maps
-
public final class Maps extends Object
Expression Object for performing map operations inside Thymeleaf Standard Expressions.
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
Constructors Constructor Description Maps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> booleancontainsAllKeys(Map<? super X,?> target, Collection<X> keys)<X> booleancontainsAllKeys(Map<? super X,?> target, X[] keys)<X> booleancontainsAllValues(Map<?,? super X> target, Collection<X> values)<X> booleancontainsAllValues(Map<?,? super X> target, X[] values)<X> booleancontainsKey(Map<? super X,?> target, X key)<X> booleancontainsValue(Map<?,? super X> target, X value)booleanisEmpty(Map<?,?> target)intsize(Map<?,?> target)
-
-
-
Method Detail
-
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)
-
-