Documentation of 'org.encog.util.obj.ObjectHolder' Java class
ObjectHolder
org.encog.util.obj

Class ObjectHolder<T>

  • Type Parameters:
    T - The type of object to hold.
    All Implemented Interfaces:
    java.io.Serializable


    public class ObjectHolder<T>
    extends java.lang.Object
    implements java.io.Serializable
    Holds an object of the specified type. Used with the ObjectChooser. Associates an object with a probability.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ObjectHolder(T theObj, double probability) 
    • 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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.