E - the type of data to iteratepublic class CyclicDataIterator<E> extends DataIteratorProxy<E>
DataIterator.
Created: 22.05.2012 08:58:16| Modifier and Type | Class and Description |
|---|---|
static interface |
CyclicDataIterator.Creator<E> |
| Modifier and Type | Field and Description |
|---|---|
protected CyclicDataIterator.Creator<E> |
creator |
source| Constructor and Description |
|---|
CyclicDataIterator(CyclicDataIterator.Creator<E> creator) |
| Modifier and Type | Method and Description |
|---|---|
DataContainer<E> |
next(DataContainer<E> wrapper)
Returns the container with the next data element if available, otherwise null.
|
void |
reset() |
getTypeclose, getSourceContainer, nextOfSourceprotected CyclicDataIterator.Creator<E> creator
public CyclicDataIterator(CyclicDataIterator.Creator<E> creator) throws IOException
IOExceptionpublic DataContainer<E> next(DataContainer<E> wrapper)
DataIteratornext in interface DataIterator<E>next in class DataIteratorProxy<E>wrapper - a DataContainer to receive the iterated dataDataContainer that holds the next element, or null if none is availablepublic void reset()
Copyright © 2006–2016 Volker Bergmann. All rights reserved.