kactoos-jvm / nnl.rocks.kactoos.iterator / Immutable
class Immutable<out T :
Any
> :
Iterator
<
T
>
Iterator that doesn’t allow removal of elements.
There is no thread-safety guarantee.
T
- Element type.
iterator
- Encapsulated iterator.
Since 0.4
Name | Summary |
---|---|
<init> | Immutable(iterator: Iterator < T >) Iterator that doesn’t allow removal of elements. |
Name | Summary |
---|---|
next | fun next(): T |