T
- Type of source itempublic final class HeadOf<T> extends CollectionEnvelope<T>
There is no thread-safety guarantee.
Constructor and Description |
---|
HeadOf(int num,
Iterable<T> src)
Ctor.
|
HeadOf(int num,
T... src)
Ctor.
|
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
equals, hashCode, iterator, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, iterator, parallelStream, removeIf, spliterator, stream
@SafeVarargs public HeadOf(int num, T... src)
num
- Number of head elementssrc
- Source elementsCopyright © 2017–2020 Cactoos. All rights reserved.