@Test public void testHasElements() { List<Integer> list = Arrays.asList(3, 2, 1, 4, 5, 6, 6); assertTrue(CollectionUtil.hasElements(list)); assertFalse(CollectionUtil.hasElements(new ArrayList<>())); }
public static boolean hasElements(Collection<?> collection) { return collection != null && !collection.isEmpty(); }
CollectionUtil { public static boolean hasElements(Collection<?> collection) { return collection != null && !collection.isEmpty(); } }
CollectionUtil { public static boolean hasElements(Collection<?> collection) { return collection != null && !collection.isEmpty(); }  }
CollectionUtil { public static boolean hasElements(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 hasElements(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);  }