Kactoos

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

StickyList

class StickyList<X : Any> : ListEnvelope<X>

List decorator that goes through the list only once.

The list is read only.

There is no thread-safety guarantee.

Parameters

X - Type of item

Since 0.4

Constructors

Name Summary
<init> StickyList(collection: Collection<X>)
StickyList(vararg items: X)
StickyList(items: Iterable<X>)

Inherited Functions

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