List of usage examples for java.util Map isEmpty
boolean isEmpty();
From source file:Main.java
public static boolean isMapEmpty(Map map) { return map == null || map.isEmpty(); }
From source file:Main.java
public static boolean isEmpty(Map map) { return (map == null) || map.isEmpty(); }
From source file:Main.java
public static boolean isNullOrEmpty(Map<?, ?> m) { return m == null || m.isEmpty(); }
From source file:Main.java
public static boolean isEmpty(Map map) { return (map == null) || (map.isEmpty()); }
From source file:Main.java
public static <K, V> boolean mapIsNotNullOrEmpty(Map<K, V> map) { return map != null && !map.isEmpty(); }
From source file:Main.java
public static <K, V> boolean isEmpty(Map<K, V> m) { return m == null || m.isEmpty(); }
From source file:Main.java
public static boolean isEmpty(Map<?, ?> m) { return m == null || m.isEmpty(); }
From source file:Main.java
public static boolean isBlank(Map<?, ?> m) { return m == null || m.isEmpty(); }
From source file:Main.java
public static <K, V> boolean isEmpty(Map<K, V> map) { return (map == null || map.isEmpty()); }
From source file:Main.java
public static <T> boolean isMapEmpty(Map<T, T> map) { return null == map || map.isEmpty(); }