Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterator / Immutable / <init>

<init>

Immutable(iterator: Iterator<T>)

Iterator that doesn’t allow removal of elements.

There is no thread-safety guarantee.

Parameters

T - Element type.

iterator - Encapsulated iterator.

Since 0.4