Kactoos

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

<init>

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

Head portion of collection.

There is no thread-safety guarantee.

Parameters

T - Type of source item

num - Number of head elements

src - Source collection

Since 0.4