Kactoos

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

TailOf

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

Tail portion of the collection.

There is no thread-safety guarantee.

Parameters

T - Element type

num - Number of tail elements

src - Source collection

Since 0.4

Constructors

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

Inherited Functions

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