Package org.yamcs.utils
Class ValueHelper
java.lang.Object
org.yamcs.utils.ValueHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Yamcs.Value
newAggregateValue
(Object... objs) returns new aggregate value The passed arguments have to be of type String, Value, String Value...static Yamcs.Value
newArrayValue
(Yamcs.Value... values) returns new array valuestatic Yamcs.Value
newTimestampValue
(long x) returns a TIMESTAMP Valuestatic Yamcs.Value
newUnsignedValue
(int x) static Yamcs.Value
newValue
(boolean x) returns a BOOLEAN Valuestatic Yamcs.Value
newValue
(byte[] x) returns a BINARY Valuestatic Yamcs.Value
newValue
(double x) returns a DOUBLE Valuestatic Yamcs.Value
newValue
(float x) returns a FLOAT Valuestatic Yamcs.Value
newValue
(int x) returns a SINT32 Valuestatic Yamcs.Value
returns 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:
-