kactoos-jvm / nnl.rocks.kactoos.iterator / TailOf
class TailOf<out T :
Any
> :
Iterator
<
T
>
Tail portion of the iterator.
There is no thread-safety guarantee.
T
- Element type
iterator
- Decorated iterator
num
- Number of tail elements
Since 0.4
Name | Summary |
---|---|
<init> | TailOf(num: Int , iterator: Iterator < T >) Tail portion of the iterator. |
Name | Summary |
---|---|
hasNext | fun hasNext(): Boolean |
next | fun next(): T |