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> boolean
containsAllKeys(Map<? super X,?> target, Collection<X> keys)
<X> boolean
containsAllKeys(Map<? super X,?> target, X[] keys)
<X> boolean
containsAllValues(Map<?,? super X> target, Collection<X> values)
<X> boolean
containsAllValues(Map<?,? super X> target, X[] values)
<X> boolean
containsKey(Map<? super X,?> target, X key)
<X> boolean
containsValue(Map<?,? super X> target, X value)
boolean
isEmpty(Map<?,?> target)
int
size(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)
-
-