Class ValueHelper

java.lang.Object
org.yamcs.utils.ValueHelper

public class ValueHelper extends Object
  • Constructor Details

    • ValueHelper

      public ValueHelper()
  • Method Details

    • newValue

      public static Yamcs.Value newValue(int x)
      returns a SINT32 Value
      Parameters:
      x -
      Returns:
    • newUnsignedValue

      public static Yamcs.Value newUnsignedValue(int x)
    • newValue

      public static Yamcs.Value newValue(double x)
      returns a DOUBLE Value
      Parameters:
      x -
      Returns:
    • newValue

      public static Yamcs.Value newValue(float x)
      returns a FLOAT Value
      Parameters:
      x -
      Returns:
    • newValue

      public static Yamcs.Value newValue(String x)
      returns a STRING Value
      Parameters:
      x -
      Returns:
    • newValue

      public static Yamcs.Value newValue(byte[] x)
      returns a BINARY Value
      Parameters:
      x -
      Returns:
    • newValue

      public static Yamcs.Value newValue(boolean x)
      returns a BOOLEAN Value
      Parameters:
      x -
      Returns:
    • newTimestampValue

      public static Yamcs.Value newTimestampValue(long x)
      returns a TIMESTAMP Value
      Parameters:
      x -
      Returns:
    • newArrayValue

      public static Yamcs.Value newArrayValue(Yamcs.Value... values)
      returns new array value
      Returns:
    • newAggregateValue

      public static Yamcs.Value newAggregateValue(Object... objs)
      returns new aggregate value The passed arguments have to be of type String, Value, String Value...
      Returns: