Kactoos

kactoos-jvm / nnl.rocks.kactoos.collection / Sticky

Sticky

class Sticky<out E : Any> : CollectionEnvelope<E>

Collection decorator that goes through the list only once.

There is no thread-safety guarantee.

Parameters

E - Type of item

Since 0.4

Constructors

Name Summary
<init> Sticky(source: Collection<E>)
Sticky(vararg args: E)
Sticky(iterable: Iterable<E>)

Inherited Functions

Name Summary
iterator open fun iterator(): Iterator<X>