org.encog.neural.data.union
Class UnionNeuralDataSet.UnionIterator

java.lang.Object
  extended by org.encog.neural.data.union.UnionNeuralDataSet.UnionIterator
All Implemented Interfaces:
Iterator<NeuralDataPair>
Enclosing class:
UnionNeuralDataSet

public class UnionNeuralDataSet.UnionIterator
extends Object
implements Iterator<NeuralDataPair>

The iterator used to access the UnionNeuralDataSet.


Constructor Summary
UnionNeuralDataSet.UnionIterator()
          Construct the union iterator.
 
Method Summary
 boolean hasNext()
          Determine if there is more data to be read from this iterator.
 NeuralDataPair next()
          Obtain the next piece of data.
 void remove()
          Not implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionNeuralDataSet.UnionIterator

public UnionNeuralDataSet.UnionIterator()
Construct the union iterator. This sets the current set and current iterators.

Method Detail

hasNext

public boolean hasNext()
Determine if there is more data to be read from this iterator.

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

next

public NeuralDataPair next()
Obtain the next piece of data.

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

remove

public void remove()
Not implemented. Will throw an error.

Specified by:
remove in interface Iterator<NeuralDataPair>


Copyright © 2011. All Rights Reserved.