doc / ch.tutteli.atrium.api.infix.en_GB / grouped

grouped

infix fun <E, T> IterableLikeContains.EntryPointStep<E, T, InOrderOnlySearchBehaviour>.grouped(entries: entries): IterableLikeContains.EntryPointStep<E, T, InOrderOnlyGroupedSearchBehaviour> (source)

Defines that the IterableLike contains in order only groups of entries whereas the order within the group is specified as next step.

Return
The newly created builder.

Since
0.14.0 -- API existed for Iterable but not for IterableLike.