X
- Type of itempublic final class Solid<X> extends ListEnvelope<X>
List
that is both synchronized and sticky.
Objects of this class are thread-safe.
Constructor and Description |
---|
Solid(Collection<X> list)
Ctor.
|
Solid(Iterable<X> items)
Ctor.
|
Solid(X... items)
Ctor.
|
add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
equals, hashCode, iterator, toString
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
@SafeVarargs public Solid(X... items)
items
- The arraypublic Solid(Collection<X> list)
list
- The iterableCopyright © 2017–2019 Cactoos. All rights reserved.