org.encog.ml.data.buffer
Class BufferedDataSetIterator
java.lang.Object
org.encog.ml.data.buffer.BufferedDataSetIterator
- All Implemented Interfaces:
- Iterator<MLDataPair>
public class BufferedDataSetIterator
- extends Object
- implements Iterator<MLDataPair>
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(BufferedMLDataSet theData)
- Construct the iterator.
- Parameters:
theData - The dataset to iterate over.
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<MLDataPair>
- Returns:
- True if there is are more records to read.
next
public MLDataPair next()
-
- Specified by:
next in interface Iterator<MLDataPair>
remove
public void remove()
- Not supported.
- Specified by:
remove in interface Iterator<MLDataPair>
Copyright © 2014. All Rights Reserved.