ListUtil { public static boolean isEmpty(List<?> list) { return ObjectUtil.isNull(list) || list.isEmpty(); }  static List<E> newArrayList(); static List<E> newArrayList(int initialCapacity); static List<E> newArrayList(Collection<? extends E> c); @SafeVarargs static List<E> buildArrayList(E... values); @SuppressWarnings("rawtypes") static Class<? extends List> getArrayListClass(); static List<E> newLinkedList(); static List<E> newLinkedList(Collection<? extends E> c); @SafeVarargs static List<E> buildLinkedList(E... values); @SuppressWarnings("rawtypes") static Class<? extends List> getLinkedListClass(); static boolean isEmpty(List<?> list); static void forEach(int startIndex, int spanNum, Iterable<? extends T> elements,
			BiConsumer<Integer, ? super T> action);  }
@Test public void testIsEmpty() { assertTrue(ListUtil.isEmpty(null)); assertTrue(ListUtil.isEmpty(ListUtil.newArrayList())); }