Class ConstantNumber

java.lang.Object
java.lang.Number
com.fluxtion.ext.streaming.api.numeric.ConstantNumber
All Implemented Interfaces:
Constant, java.io.Serializable

public class ConstantNumber
extends java.lang.Number
implements Constant
Mutable numeric value
Author:
Greg Higgins
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    ConstantNumber​(double doubleValue)  
  • Method Summary

    Modifier and Type Method Description
    double doubleValue()  
    boolean equals​(java.lang.Object obj)  
    float floatValue()  
    int hashCode()  
    int intValue()  
    long longValue()  
    java.lang.String toString()  
    boolean updated()  

    Methods inherited from class java.lang.Number

    byteValue, shortValue

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.fluxtion.ext.streaming.api.Constant

    isValidOnStart
  • Constructor Details

  • Method Details

    • updated

      public boolean updated()
    • floatValue

      public float floatValue()
      Specified by:
      floatValue in class java.lang.Number
    • intValue

      public int intValue()
      Specified by:
      intValue in class java.lang.Number
    • longValue

      public long longValue()
      Specified by:
      longValue in class java.lang.Number
    • doubleValue

      public double doubleValue()
      Specified by:
      doubleValue in class java.lang.Number
    • 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
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object