Package com.gengoai.stream
Class ShuffleIterator<T>
- java.lang.Object
-
- com.gengoai.stream.ShuffleIterator<T>
-
-
Constructor Summary
Constructors Constructor Description ShuffleIterator(@NonNull Iterator<T> backing, @NonNull Random random)
ShuffleIterator(Iterator<T> backing)
Instantiates a new Shuffle iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
-
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, remove
-
-