kactoos-jvm / nnl.rocks.kactoos.iterator / Sorted
class Sorted<out T :
Any
> :
Iterator
<
T
>
Sorted iterator.
There is no thread-safety guarantee.
T
- Element type
Since 0.3
Name | Summary |
---|---|
<init> | Sorted(comparator: Comparator < T >, iterator: Iterator < T >) |
Name | Summary |
---|---|
invoke | operator fun <T : Comparable < T >> invoke(items: Iterator < T >): Sorted < T > |