java.lang.Object
org.yamcs.mdb.ValidRangeChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckFloatRange(FloatValidRange fvr, double x) checks that x is in the range and returns true if it is and false if it's notstatic booleancheckFloatRange(FloatValidRange fvr, Value v) Checks if the value is within range.static booleancheckIntegerRange(IntegerValidRange vr, long x) checks that x is in the range and returns true if it is and false if it's notstatic booleancheckIntegerRange(IntegerValidRange ivr, Value v) Checks if the value is within range.static booleancheckUnsignedIntegerRange(IntegerValidRange vr, long x)
-
Constructor Details
-
ValidRangeChecker
public ValidRangeChecker()
-
-
Method Details
-
checkFloatRange
checks that x is in the range and returns true if it is and false if it's not- Parameters:
fvr-x-- Returns:
-
checkIntegerRange
checks that x is in the range and returns true if it is and false if it's not- Parameters:
vr- - range to check againstx-- Returns:
-
checkUnsignedIntegerRange
-
checkFloatRange
Checks if the value is within range. If the value is not of numeric type returns false. -
checkIntegerRange
Checks if the value is within range. If the value is not of numeric type returns false.
-