- filter
Returns a view of unfiltered containing all elements that satisfy the input
predicate retainIfTrue.
- size
Returns the number of elements in iterable.
- concat
Combines multiple iterables into a single iterable. The returned iterable has an
iterator that trave
- elementsEqual
Determines whether two iterables contain equal elements in the same order. More
specifically, this m
- getOnlyElement
Returns the single element contained in iterable, or defaultValue if the
iterable is empty.Java 8 us
- addAll
Adds all elements in iterable to collection.
- getFirst
Returns the first element in iterable or defaultValue if the iterable is empty.
The Iterators analog
- toString
Returns a string representation of iterable, with the format [e1, e2, ..., en]
(that is, identical t
- all
Returns true if every element in iterable satisfies the predicate. If iterable
is empty, true is ret
- castOrCopyToCollection
Converts an iterable into a collection. If the iterable is already a collection,
it is returned. Oth
- contains
Returns true if iterable contains any object for which equals(element)is true.
- cycle
Returns an iterable whose iterators cycle indefinitely over the provided
elements.After remove is in