public class ValidRangeChecker extends Object
| Constructor and Description |
|---|
ValidRangeChecker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkFloatRange(FloatValidRange fvr,
double x)
checks that x is in the range and returns true if it is and false if it's not
|
static boolean |
checkIntegerRange(IntegerValidRange vr,
long x)
checks that x is in the range and returns true if it is and false if it's not
|
static boolean |
checkUnsignedIntegerRange(IntegerValidRange vr,
long x) |
public static boolean checkFloatRange(FloatValidRange fvr, double x)
fvr - x - public static boolean checkIntegerRange(IntegerValidRange vr, long x)
vr - - range to check againstx - public static boolean checkUnsignedIntegerRange(IntegerValidRange vr, long x)
Copyright © 2018 Space Applications Services. All rights reserved.