kactoos-jvm / nnl.rocks.kactoos.collection / HeadOf / <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.
T
- Type of source item
num
- Number of head elements
src
- Source collection
Since 0.4