T
- List typepublic final class SolidCollection<T> extends CollectionEnvelope<T>
Collection
that is both synchronized and sticky.
Objects of this class are thread-safe.
StickyCollection
Constructor and Description |
---|
SolidCollection(Collection<T> src)
Ctor.
|
SolidCollection(Iterable<T> src)
Ctor.
|
SolidCollection(Iterator<T> src)
Ctor.
|
SolidCollection(T... array)
Ctor.
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
@SafeVarargs public SolidCollection(T... array)
array
- An array of some elementspublic SolidCollection(Collection<T> src)
src
- An Iterable
Copyright © 2017–2018 Cactoos. All rights reserved.