IterableExtension<E> extension

Extension that applies to all iterables.

Contains common functionality used on iterables.

on

Methods

interlaceWith(Iterable<E> other) Iterable<E>
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
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>
Introduces a separator between all elements of the iterable.