org.encog.ml.data.folded

## Class FoldedIterator

- java.lang.Object
- - org.encog.ml.data.folded.FoldedIterator

- All Implemented Interfaces:
    Iterator<MLDataPair>

      public class FoldedIterator
      extends Object
      implements Iterator<MLDataPair>

  Used to iterate over a folded data set.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FoldedIterator(FoldedDataSet theOwner)` Construct the folded iterator.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `MLDataPair` | `next()`
    `void` | `remove()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FoldedIterator

          public FoldedIterator(FoldedDataSet theOwner)

      Construct the folded iterator.
      Parameters:
        `theOwner` - The owning dataset.

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<MLDataPair>`

    - #### next

          public MLDataPair next()

      Specified by:
        `next` in interface `Iterator<MLDataPair>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `Iterator<MLDataPair>`

Copyright © 2014. All Rights Reserved.