IterableExtension<E> extension

Extension that applies to all iterables.

Contains common functionality used on iterables.

on

Methods

interlaceWith(Iterable<E> other) Iterable<E>

Available on Iterable<E>, provided by the IterableExtension extension

Interlaces the elements with the elements from other iterable to create an iterable with one element of each stream at the time.
joinOxford({String coordinator = 'and'}) String

Available on Iterable<E>, provided by the IterableExtension extension

Converts each element to a String and concatenates the strings taking into account serial comma (also known as Oxford comma).
separatedBy(E separator(int index)) Iterable<E>

Available on Iterable<E>, provided by the IterableExtension extension

Introduces a separator between all elements of the iterable.