public final class CollectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
defaultSet(Set<T> set) |
static <T> Set<T> |
defaultSet(Set<T> set,
Set<T> defaultSet) |
static <E> List<E> |
genericList(List<?> list,
Class<E> elementType) |
static <E> Set<E> |
genericSet(Set<?> set,
Class<E> elementType) |
static boolean |
isEmpty(Collection<?> collection) |
public static boolean isEmpty(Collection<?> collection)
Copyright © 2006–2014 Codehaus. All rights reserved.