- sizeOf
Returns the size of an iterable. In the case of Collections and RichIterables,
the method size is ca
- notEmpty
A null-safe check on a collection to see if it is notEmpty. A null collection
results in a false.
- collect
Same as the #collect(Iterable,Function) method with two parameters, except that
the results are gath
- contains
Returns true if the iterable contains the value. In the case of Collections and
RichIterables, the m
- count
Returns the total number of elements that evaluate to true for the specified
predicate. Example usin
- forEach
The procedure is evaluated for each element of the iterable. Example using a
Java 8 lambda expressio
- forEachWithIndex
Iterates over a collection passing each element and the current relative int
index to the specified
- isEmpty
A null-safe check on a collection to see if it isEmpty. A null collection
results in a true.
- select
Same as the select method with two parameters but uses the specified target
collection Example using
- toArray
Copies the specified iterable into the specified array.
- addAllIterable
Add all elements from the source Iterable to the target collection, returns true
if any element was
- addAllTo
Add all elements from the source Iterable to the target collection, return the
target collection.