Class TrackedParameter


  • public class TrackedParameter
    extends java.lang.Object
    Class containing an object, and the associated value.
    Since:
    0.7.0
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object owner
      Option ID
      private Parameter<?> parameter
      Parameter value
    • Constructor Summary

      Constructors 
      Constructor Description
      TrackedParameter​(java.lang.Object owner, Parameter<?> parameter)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getOwner()
      Get the owner object.
      Parameter<?> getParameter()
      Get the parameter observed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • owner

        private java.lang.Object owner
        Option ID
      • parameter

        private Parameter<?> parameter
        Parameter value
    • Constructor Detail

      • TrackedParameter

        public TrackedParameter​(java.lang.Object owner,
                                Parameter<?> parameter)
        Constructor.
        Parameters:
        owner - Object owning the parameter value
        parameter - Parameter
    • Method Detail

      • getOwner

        public java.lang.Object getOwner()
        Get the owner object.
        Returns:
        Parameter owner
      • getParameter

        public Parameter<?> getParameter()
        Get the parameter observed.
        Returns:
        Parameter