Package org.thymeleaf.util
Class MapUtils
- Object
-
- org.thymeleaf.util.MapUtils
-
public final class MapUtils extends Object
- Since:
- 1.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <X> booleancontainsAllKeys(Map<? super X,?> target, Collection<X> keys)static <X> booleancontainsAllKeys(Map<? super X,?> target, X[] keys)static <X> booleancontainsAllValues(Map<?,? super X> target, Collection<X> values)static <X> booleancontainsAllValues(Map<?,? super X> target, X[] values)static <X> booleancontainsKey(Map<? super X,?> target, X key)static <X> booleancontainsValue(Map<?,? super X> target, X value)static booleanisEmpty(Map<?,?> target)static intsize(Map<?,?> target)
-
-
-
Method Detail
-
size
public static int size(Map<?,?> target)
-
isEmpty
public static boolean isEmpty(Map<?,?> target)
-
containsKey
public static <X> boolean containsKey(Map<? super X,?> target, X key)
-
containsAllKeys
public static <X> boolean containsAllKeys(Map<? super X,?> target, X[] keys)
-
containsAllKeys
public static <X> boolean containsAllKeys(Map<? super X,?> target, Collection<X> keys)
-
containsValue
public static <X> boolean containsValue(Map<?,? super X> target, X value)
-
containsAllValues
public static <X> boolean containsAllValues(Map<?,? super X> target, X[] values)
-
containsAllValues
public static <X> boolean containsAllValues(Map<?,? super X> target, Collection<X> values)
-
-