java.lang.Object
org.yamcs.utils.ValueHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.yamcs.protobuf.Yamcs.ValuenewAggregateValue(Object... objs) returns new aggregate value The passed arguments have to be of type String, Value, String Value...static org.yamcs.protobuf.Yamcs.ValuenewArrayValue(org.yamcs.protobuf.Yamcs.Value... values) returns new array valuestatic org.yamcs.protobuf.Yamcs.ValuenewTimestampValue(long x) returns a TIMESTAMP Valuestatic org.yamcs.protobuf.Yamcs.ValuenewUnsignedValue(int x) static org.yamcs.protobuf.Yamcs.ValuenewValue(boolean x) returns a BOOLEAN Valuestatic org.yamcs.protobuf.Yamcs.ValuenewValue(byte[] x) returns a BINARY Valuestatic org.yamcs.protobuf.Yamcs.ValuenewValue(double x) returns a DOUBLE Valuestatic org.yamcs.protobuf.Yamcs.ValuenewValue(float x) returns a FLOAT Valuestatic org.yamcs.protobuf.Yamcs.ValuenewValue(int x) returns a SINT32 Valuestatic org.yamcs.protobuf.Yamcs.Valuereturns a STRING Value
-
Constructor Details
-
ValueHelper
public ValueHelper()
-
-
Method Details
-
newValue
public static org.yamcs.protobuf.Yamcs.Value newValue(int x) returns a SINT32 Value- Parameters:
x-- Returns:
-
newUnsignedValue
public static org.yamcs.protobuf.Yamcs.Value newUnsignedValue(int x) -
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
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
returns new aggregate value The passed arguments have to be of type String, Value, String Value...- Returns:
-