IterableExtension<E> extension
Extension that applies to all iterables.
Contains common functionality used on iterables.
- on
-
- Iterable<
E>
- Iterable<
Methods
-
interlaceWith(
Iterable< E> other) → Iterable<E> -
Available on Iterable<
Interlaces the elements with the elements fromE> , provided by the IterableExtension extensionother
iterable to create an iterable with one element of each stream at the time. -
joinOxford(
{String coordinator = 'and'}) → String -
Available on Iterable<
Converts each element to a String and concatenates the strings taking into account serial comma (also known as Oxford comma).E> , provided by the IterableExtension extension -
separatedBy(
E separator(int index)) → Iterable< E> -
Available on Iterable<
Introduces a separator between all elements of the iterable.E> , provided by the IterableExtension extension