Class UInt64Value

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

public class UInt64Value extends Value
  • Constructor Details

    • UInt64Value

      public UInt64Value(long v)
  • Method Details

    • getType

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

      public long getUint64Value()
      Overrides:
      getUint64Value in class Value
    • toLong

      public long toLong()
      Overrides:
      toLong in class Value
      Returns:
      the value as signed long
    • 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
    • unsignedAsDouble

      public static double unsignedAsDouble(long x)
    • toString

      public String toString()
      Overrides:
      toString in class Object