org.encog.util.normalize.input

## Class MLDataFieldHolder

- java.lang.Object
- - org.encog.util.normalize.input.MLDataFieldHolder

- All Implemented Interfaces:
    Serializable

      public class MLDataFieldHolder
      extends Object
      implements Serializable

  Simple holder class used internally for Encog. Used as a holder for a: NeuralDataPair Iterator InputFieldNeuralDataSet
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MLDataFieldHolder(Iterator<MLDataPair> iterator, InputFieldMLDataSet field)` Construct the class.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputFieldMLDataSet` | `getField()`
    `Iterator<MLDataPair>` | `getIterator()`
    `MLDataPair` | `getPair()`
    `void` | `obtainPair()` Obtain the next pair.
    `void` | `setPair(MLDataPair pair)` Set the pair.

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

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

- - ### Constructor Detail

    - #### MLDataFieldHolder

          public MLDataFieldHolder(Iterator<MLDataPair> iterator,
                           InputFieldMLDataSet field)

      Construct the class.
      Parameters:
        `iterator` - An iterator.
        `field` - A field.

  - ### Method Detail

    - #### getField

          public InputFieldMLDataSet getField()

      Returns:
        The field.

    - #### getIterator

          public Iterator<MLDataPair> getIterator()

      Returns:
        The iterator.

    - #### getPair

          public MLDataPair getPair()

      Returns:
        The pair.

    - #### obtainPair

          public void obtainPair()

      Obtain the next pair.

    - #### setPair

          public void setPair(MLDataPair pair)

      Set the pair.
      Parameters:
        `pair` - The pair.

Copyright © 2014. All Rights Reserved.