X
- Type of source itempublic final class Limited<X> extends CollectionEnvelope<X>
There is no thread-safety guarantee.
Constructor and Description |
---|
Limited(int lmt,
Collection<X> src)
Ctor.
|
Limited(int lmt,
Iterable<X> src)
Ctor.
|
Limited(int lmt,
Iterator<X> src)
Ctor.
|
Limited(int lmt,
X... src)
Ctor.
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
@SafeVarargs public Limited(int lmt, X... src)
src
- Source collectionlmt
- Requested number of elementspublic Limited(int lmt, Iterator<X> src)
src
- Source collectionlmt
- Requested number of elementspublic Limited(int lmt, Iterable<X> src)
src
- Source collectionlmt
- Requested number of elementspublic Limited(int lmt, Collection<X> src)
src
- Source collectionlmt
- Requested number of elementsCopyright © 2017 Cactoos. All rights reserved.