doc / ch.tutteli.atrium.api.infix.en_GB.creating.iterable / Order

Order

class Order<out T, out G : Group<T>> (source)

Parameter object to express Group<T>, Group<T>, vararg Group<T>.

Use the function order(group, group, ...) to create this representation.

Notice, most probably the type parameter G will be removed in the future, will be fixed to Group.

Properties

firstGroup

val firstGroup: G

otherExpectedGroups

val otherExpectedGroups: Array<out G>

secondGroup

val secondGroup: G

Functions

toList

fun toList(): List<List<T>>