@Test public void testIsNullOrEmptyMap() { assertTrue(isNullOrEmpty((Map) null)); assertTrue(isNullOrEmpty(Collections.emptyMap())); HashMap<String, String> map = new HashMap<>(); assertTrue(isNullOrEmpty(map)); map.put("test", "object"); assertFalse(isNullOrEmpty(map)); }
public static boolean isNullOrEmpty(Collection collection) { return collection == null || collection.isEmpty(); }
ArrayUtils { public static boolean isNullOrEmpty(Collection collection) { return collection == null || collection.isEmpty(); } }
ArrayUtils { public static boolean isNullOrEmpty(Collection collection) { return collection == null || collection.isEmpty(); } private  ArrayUtils(); }
ArrayUtils { public static boolean isNullOrEmpty(Collection collection) { return collection == null || collection.isEmpty(); } private  ArrayUtils(); static boolean isNullOrEmpty(Collection collection); static boolean isNullOrEmpty(Map map); }
ArrayUtils { public static boolean isNullOrEmpty(Collection collection) { return collection == null || collection.isEmpty(); } private  ArrayUtils(); static boolean isNullOrEmpty(Collection collection); static boolean isNullOrEmpty(Map map);  }