Class ValueHelper


  • public class ValueHelper
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.yamcs.protobuf.Yamcs.Value newAggregateValue​(Object... objs)
      returns new aggregate value The passed arguments have to be of type String, Value, String Value...
      static org.yamcs.protobuf.Yamcs.Value newArrayValue​(org.yamcs.protobuf.Yamcs.Value... values)
      returns new array value
      static org.yamcs.protobuf.Yamcs.Value newTimestampValue​(long x)
      returns a TIMESTAMP Value
      static org.yamcs.protobuf.Yamcs.Value newValue​(boolean x)
      returns a BOOLEAN Value
      static org.yamcs.protobuf.Yamcs.Value newValue​(byte[] x)
      returns a BINARY Value
      static org.yamcs.protobuf.Yamcs.Value newValue​(double x)
      returns a DOUBLE Value
      static org.yamcs.protobuf.Yamcs.Value newValue​(float x)
      returns a FLOAT Value
      static org.yamcs.protobuf.Yamcs.Value newValue​(int x)
      returns a SINT32 Value
      static org.yamcs.protobuf.Yamcs.Value newValue​(String x)
      returns a STRING Value
    • Constructor Detail

      • ValueHelper

        public ValueHelper()
    • Method Detail

      • newValue

        public static org.yamcs.protobuf.Yamcs.Value newValue​(int x)
        returns a SINT32 Value
        Parameters:
        x -
        Returns:
      • newValue

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

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

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

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

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

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

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

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