T- List type
public final class CollectionOf<T> extends CollectionEnvelope<T>
This class should be used very carefully. You must understand that
it will fetch the entire content of the encapsulated
Iterable on each
method call. It doesn't cache the data anyhow.
If you don't need this
Collection to re-fresh
its content on every call, by doing round-trips to
the encapsulated iterable, use
There is no thread-safety guarantee.
|Constructor and Description|
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 CollectionOf(T... array)
array- An array of some elements
Copyright © 2017 Cactoos. All rights reserved.