| Modifier and Type | Method and Description |
|---|---|
static <T> int |
count(Iterable<T> iterable)
Returns the number of elements the iterable contains.
|
static <T> List<T> |
toList(Iterable<T> iterable)
Creates a new list from the iterable elements.
|
public static <T> List<T> toList(Iterable<T> iterable)
iterable - the iterablepublic static <T> int count(Iterable<T> iterable)
iterable - the iterableCopyright © 2020 CrafterCMS. All rights reserved.