Kactoos

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

<init>

HeadOf(num: Int, vararg src: T)HeadOf(num: Int, iterable: Iterable<T>)

Head portion of the iterable.

There is no thread-safety guarantee.

Parameters

T - Element type

num - Number of head elements

iterable - Decorated iterable

Since 0.4