Kactoos

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

<init>

HeadOf(head: Int, origin: Iterator<T>)

Head portion of the iterator.

There is no thread-safety guarantee.

Parameters

T - Element type

head - Number of head elements.

origin - Decorated iterator.

Since 0.4