public class LimitedDataStream<I,D> extends AbstractStream<IndependentPair<I,D>>
Constructor and Description |
---|
LimitedDataStream(DataGenerator<I,D> dg,
int totalDataItems) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
IndependentPair<I,D> |
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 LimitedDataStream(DataGenerator<I,D> dg, int totalDataItems)
public boolean hasNext()
public IndependentPair<I,D> next()