Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterable / TailOf

TailOf

class TailOf<out T : Any> : IterableEnvelope<T>

Tail portion of the iterable.

There is no thread-safety guarantee.

Parameters

T - Element type

num - Number of tail elements

iterable - Decorated iterable

Since 0.4

Constructors

Name Summary
<init> TailOf(num: Int, vararg args: T)TailOf(num: Int, iterable: Iterable<T>)
Tail portion of the iterable.

Inherited Functions

Name Summary
iterator open fun iterator(): Iterator<T>