Class Stream<T>
- java.lang.Object
-
- org.apache.accumulo.test.stress.random.Stream<T>
-
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
DataWriter
,RandomByteArrays
,RandomMutations
public abstract class Stream<T> extends Object implements Iterator<T>
Base class to model an infinite stream of data. A stream implements an iterator whose {hasNext()
method will always return true.
-
-
Constructor Summary
Constructors Constructor Description Stream()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
abstract T
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-