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