Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.util.obj
Class ObjectHolder<T>

    java.lang.Object
      org.encog.util.obj.ObjectHolder<T>

Type Parameters:
  `T` - The type of object to hold.

All Implemented Interfaces:
  Serializable

    public class ObjectHolder<T>

extends Object
implements Serializable

Holds an object of the specified type. Used with the ObjectChooser. Associates an object with a probability.

See Also:
  Serialized Form

Constructor Summary
`ObjectHolder(T theObj, double probability)`

Method Summary
`T` | `getObj()`
`double` | `getProbability()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ObjectHolder

    public ObjectHolder(T theObj,
                        double probability)

Method Detail

### getObj

    public T getObj()

  Returns:
    the opp

### getProbability

    public double getProbability()

  Returns:
    the probability

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.