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