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.
Constructor and Description |
---|
Maps() |
Modifier and Type | Method and 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) |
public int size(Map<?,?> target)
public boolean isEmpty(Map<?,?> target)
public <X> boolean containsKey(Map<? super X,?> target, X key)
public <X> boolean containsValue(Map<?,? super X> target, X value)
public <X> boolean containsAllKeys(Map<? super X,?> target, X[] keys)
public <X> boolean containsAllKeys(Map<? super X,?> target, Collection<X> keys)
public <X> boolean containsAllValues(Map<?,? super X> target, X[] values)
public <X> boolean containsAllValues(Map<?,? super X> target, Collection<X> values)
Copyright © 2015 The THYMELEAF team. All rights reserved.