org.encog.neural.data.basic
Class BasicNeuralDataSet.BasicNeuralIterator

java.lang.Object
  extended by org.encog.neural.data.basic.BasicNeuralDataSet.BasicNeuralIterator
All Implemented Interfaces:
Iterator<NeuralDataPair>
Enclosing class:
BasicNeuralDataSet

public class BasicNeuralDataSet.BasicNeuralIterator
extends Object
implements Iterator<NeuralDataPair>

An iterator to be used with the BasicNeuralDataSet. This iterator does not support removes.

Author:
jheaton

Constructor Summary
BasicNeuralDataSet.BasicNeuralIterator()
           
 
Method Summary
 boolean hasNext()
          Is there more data for the iterator to read?
 NeuralDataPair next()
          Read the next item.
 void remove()
          Removes are not supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicNeuralDataSet.BasicNeuralIterator

public BasicNeuralDataSet.BasicNeuralIterator()
Method Detail

hasNext

public boolean hasNext()
Is there more data for the iterator to read?

Specified by:
hasNext in interface Iterator<NeuralDataPair>
Returns:
Returns true if there is more data to read.

next

public NeuralDataPair next()
Read the next item.

Specified by:
next in interface Iterator<NeuralDataPair>
Returns:
The next item.

remove

public void remove()
Removes are not supported.

Specified by:
remove in interface Iterator<NeuralDataPair>


Copyright © 2011. All Rights Reserved.