org.encog.neural.data.buffer
Class BufferedDataSetIterator
java.lang.Object
org.encog.neural.data.buffer.BufferedDataSetIterator
- All Implemented Interfaces:
- Iterator<NeuralDataPair>
public class BufferedDataSetIterator
- extends Object
- implements Iterator<NeuralDataPair>
An iterator for the BufferedNeuralDataSet.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedDataSetIterator
public BufferedDataSetIterator(BufferedNeuralDataSet data)
- Construct the iterator.
- Parameters:
data - The dataset to iterate over.
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<NeuralDataPair>
- Returns:
- True if there is are more records to read.
next
public NeuralDataPair next()
-
- Specified by:
next in interface Iterator<NeuralDataPair>
remove
public void remove()
- Not supported.
- Specified by:
remove in interface Iterator<NeuralDataPair>
Copyright © 2011. All Rights Reserved.