kactoos-jvm / nnl.rocks.kactoos.iterator / HeadOf / <init>
HeadOf(head:
Int
, origin:
Iterator
<
T
>)
Head portion of the iterator.
There is no thread-safety guarantee.
T
- Element type
head
- Number of head elements.
origin
- Decorated iterator.
Since 0.4