kactoos-jvm / nnl.rocks.kactoos.iterable / Sorted
class Sorted<out T :
Any
> :
IterableEnvelope
<
T
>
Sorted iterable.
There is no thread-safety guarantee.
T
- Element type
Since 0.4
Name | Summary |
---|---|
<init> | Sorted(cmp: Comparator < T >, vararg args: T ) Sorted(cmp: Comparator < T >, src: Iterable < T >) Sorted iterable. |
Name | Summary |
---|---|
iterator | open fun iterator(): Iterator < T > |
Name | Summary |
---|---|
invoke | operator fun <T : Comparable < T >> invoke(origin: Iterable < T >): Sorted < T > operator fun <T : Comparable < T >> invoke(vararg args: T ): Sorted < T > |