Class DoubleValue

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

public class DoubleValue extends Value
  • Constructor Details

    • DoubleValue

      public DoubleValue(double v)
  • Method Details

    • getType

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

      public double getDoubleValue()
      Overrides:
      getDoubleValue 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