Class FloatValue

java.lang.Object
org.yamcs.parameter.Value
org.yamcs.parameter.FloatValue

public class FloatValue extends Value
  • Constructor Details

    • FloatValue

      public FloatValue(float v)
  • Method Details

    • getType

      public Yamcs.Value.Type getType()
      Specified by:
      getType in class Value
    • getFloatValue

      public float getFloatValue()
      Overrides:
      getFloatValue in class Value
    • toDouble

      public double toDouble()
      Description copied from class: Value
      return the value as a double. Precision will be lost when converting large integer numbers.
      Overrides:
      toDouble in class Value
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object