public class IterativeConsumer<T> extends java.lang.Object implements DataPartitionConsumer<T>
| Constructor and Description |
|---|
IterativeConsumer(java.util.Iterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Weather we have a next value
|
T |
next()
Return the next value
|
public IterativeConsumer(java.util.Iterator<T> iterator)
public boolean hasNext()
DataPartitionConsumerhasNext in interface DataPartitionConsumer<T>public T next()
DataPartitionConsumernext in interface DataPartitionConsumer<T>