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