@Test public void shouldReturnTrueIfCollectionIsEmpty(){ List<String> emptyList = new ArrayList<String>(); Assert.assertTrue(CollectionUtil.isNullOrEmpty(emptyList)); }
public static boolean isNullOrEmpty(Collection<?> collection){ return collection == null || collection.isEmpty(); }
CollectionUtil { public static boolean isNullOrEmpty(Collection<?> collection){ return collection == null || collection.isEmpty(); } }
CollectionUtil { public static boolean isNullOrEmpty(Collection<?> collection){ return collection == null || collection.isEmpty(); }  }
CollectionUtil { public static boolean isNullOrEmpty(Collection<?> collection){ return collection == null || collection.isEmpty(); }  static boolean isNullOrEmpty(Collection<?> collection); static boolean hasElements(Collection<?> collection); }
CollectionUtil { public static boolean isNullOrEmpty(Collection<?> collection){ return collection == null || collection.isEmpty(); }  static boolean isNullOrEmpty(Collection<?> collection); static boolean hasElements(Collection<?> collection);  }