Class IterableUtils
java.lang.Object
org.craftercms.commons.collections.IterableUtils
Utility methods for
Iterable
.- Author:
- avasquez
-
Method Summary
-
Method Details
-
toList
Creates a new list from the iterable elements.- Parameters:
iterable
- the iterable- Returns:
- a list with the iterable elements
-
count
Returns the number of elements the iterable contains.- Parameters:
iterable
- the iterable- Returns:
- the element count of the iterable
-