T
- Element typepublic final class HeadOf<T> extends IterableEnvelope<T>
There is no thread-safety guarantee.
Constructor and Description |
---|
HeadOf(int num,
Iterable<T> iterable)
Ctor.
|
HeadOf(int num,
T... src)
Ctor.
|
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@SafeVarargs public HeadOf(int num, T... src)
num
- Number of head elementssrc
- The underlying iterableCopyright © 2017–2019 Cactoos. All rights reserved.