@Test public void testIsEmpty() { List<String> list = new ArrayList<>(); assertTrue(CollectionUtil.isEmpty(list)); list.add("TestString"); assertFalse(CollectionUtil.isEmpty(list)); }
public static boolean isEmpty(Collection<?> collection) { return collection == null || collection.isEmpty(); }
CollectionUtil { public static boolean isEmpty(Collection<?> collection) { return collection == null || collection.isEmpty(); } }
CollectionUtil { public static boolean isEmpty(Collection<?> collection) { return collection == null || collection.isEmpty(); }  }
CollectionUtil { public static boolean isEmpty(Collection<?> collection) { return collection == null || collection.isEmpty(); }  static boolean isEmpty(Collection<?> collection); static boolean hasElements(Collection<?> collection); static List<String> stringify(Collection<T> collection); static List<String> stringify(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection); static String implode(Collection<T> collection, String separator); static String implode(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection, String sep,
			Stringifier<T> stringifier, Object... options); }
CollectionUtil { public static boolean isEmpty(Collection<?> collection) { return collection == null || collection.isEmpty(); }  static boolean isEmpty(Collection<?> collection); static boolean hasElements(Collection<?> collection); static List<String> stringify(Collection<T> collection); static List<String> stringify(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection); static String implode(Collection<T> collection, String separator); static String implode(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection, String sep,
			Stringifier<T> stringifier, Object... options);  }