kactoos-jvm / nnl.rocks.kactoos.list / Sorted
class Sorted<T :
Any
> :
ListEnvelope
<
T
>
Sorted list.
There is no thread-safety guarantee.
T
- Element type
See Also
Since 0.4
Name | Summary |
---|---|
<init> | Sorted(cmp: Comparator < T >, src: Collection < T >) Sorted(cmp: Comparator < T >, vararg src: T ) |
Name | Summary |
---|---|
iterator | open fun iterator(): Iterator < T > |
listIterator | open fun listIterator(): ListIterator < T > open fun listIterator(index: Int ): ListIterator < T > |
Name | Summary |
---|---|
invoke | operator fun <T : Comparable < T >> invoke(src: Iterable < T >): Sorted < T > operator fun <T : Comparable < T >> invoke(vararg src: T ): Sorted < T > |