public final class CollectionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T,C extends Collection<T>> |
addToCollection(C collection,
T... entries)
Adds all entries to the given
Collection. |
static <T> List<T> |
createArrayList(T... entries)
Creates a new
ArrayList with the given entries. |
@SafeVarargs public static <T> List<T> createArrayList(T... entries)
@SafeVarargs public static <T,C extends Collection<T>> C addToCollection(C collection, T... entries)
Collection.Created by ThK-Systems. License: LGPL