Class TimeValues.VariableValue

  • All Implemented Interfaces:
    ITimeValue
    Enclosing class:
    TimeValues

    public static final class TimeValues.VariableValue
    extends java.lang.Object
    implements ITimeValue
    Simple value holder.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private float output  
    • Constructor Summary

      Constructors 
      Constructor Description
      VariableValue​(float initialValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float apply​(float input)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      void setValue​(float newValue)  
      • Methods inherited from class java.lang.Object

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

      • output

        private float output
    • Constructor Detail

      • VariableValue

        public VariableValue​(float initialValue)
    • Method Detail

      • setValue

        public void setValue​(float newValue)
      • apply

        public float apply​(float input)
        Specified by:
        apply in interface ITimeValue
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object