Kactoos

kactoos-jvm / nnl.rocks.kactoos.list / ListEnvelope

ListEnvelope

abstract class ListEnvelope<T : Any> : List<T>

List envelope.

There is no thread-safety guarantee.

Parameters

T - Element type.

list - Encapsulated list.

Since 0.3

Constructors

Name Summary
<init> ListEnvelope(list: List<T>)
ListEnvelope(list: Scalar<List<T>>)ListEnvelope(list: KScalar<List<T>>)
List envelope.

Functions

Name Summary
iterator open fun iterator(): Iterator<T>
listIterator open fun listIterator(): ListIterator<T>
open fun listIterator(index: Int): ListIterator<T>

Inheritors

Name Summary
Joined class Joined<X : Any> : ListEnvelope<X>
Joined list.
ListOf class ListOf<T : Any> : ListEnvelope<T>
Iterable as List.
Mapped class Mapped<X : Any, Y : Any> : ListEnvelope<Y>
Mapped list.
Reversed class Reversed<T : Any> : ListEnvelope<T>
Reversed list.
Shuffled class Shuffled<T : Any> : ListEnvelope<T>
Shuffled list.
SolidList class SolidList<X : Any> : ListEnvelope<X>
A List that is both synchronized and sticky.
Sorted class Sorted<T : Any> : ListEnvelope<T>
Sorted list.
StickyList class StickyList<X : Any> : ListEnvelope<X>
List decorator that goes through the list only once.
SyncList class SyncList<X : Any> : ListEnvelope<X>
Synchronized list.