IterableIterable<E> extension

Provides functions for working with nested iterables.

Functions that rely on the ordering of elements are non-deterministic if an iterable is unordered, i.e. HashSet.

on

Methods

flatten() Iterable<E>
Returns a lazy iterable that flattens all nested iterables in this iterable.