IterableExtensions<E> extension

Extensions on any Iterable.

on

Methods

bracket<T extends E>(T callback()) Iterable<E>
Bracket the iterable by prepending and appending elements provided by the callback. [...]
interleave<T extends E>(T callback()) Iterable<E>
Interleave elements provided by a callback into those of the iterable. [...]