public final class Collections extends Object
Collections.| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
toList(Collection<T> collection)
Convert the given
collection to a List, if necessary. |
static <T> List<Long> |
toLongList(Collection<T> collection)
|
public static <T> List<T> toList(Collection<T> collection)
collection to a List, if necessary.collection - collection.public static <T> List<Long> toLongList(Collection<T> collection)
collection to a List of Long
values, if necessary. The client must attempt to do this for every
collection of records because CaSH always passes user input in as a
collection of integers.collection -