T
- Type of items in the stream/collectionpublic class CollectionStream<T> extends AbstractStream<T>
Stream
based on any Collection
of items.Constructor and Description |
---|
CollectionStream(Collection<T> coll)
Construct with the given collection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
filter, forEach, forEach, forEach, iterator, map, map, parallelForEach, parallelForEach, remove, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public CollectionStream(Collection<T> coll)
coll
- the collection