public class MapUtils extends Object
| Constructor and Description |
|---|
MapUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <KT,VT> VT[] |
getMapValuesOrderByKey(Map<KT,VT> valuesMap,
List<KT> keys,
VT defaultValue) |
static boolean |
isEmpty(Map<?,?> map)
Returns true if given map is null or empty; false otherwise.
|
static boolean |
isNotEmpty(Map<?,?> map)
Returns true if the map is both not null and not empty; false otherwise.
|
public static boolean isEmpty(Map<?,?> map)
map - the map to be tested.public static boolean isNotEmpty(Map<?,?> map)
map - the map to be tested.Copyright © 2014. All rights reserved.