| Constructor and Description |
|---|
ValueUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
inRange(Double checkValue,
double min,
double max) |
static int |
inRange(Integer checkValue,
int min,
int max) |
static long |
inRange(Long checkValue,
long min,
long max) |
static boolean |
isByteRange(long value) |
static boolean |
isFloatRange(double value) |
static boolean |
isIntRange(long value) |
static boolean |
isShortRange(long value) |
static double |
valueOrAlt(double checkValue,
double altValue) |
static int |
valueOrAlt(int checkValue,
int altValue) |
static long |
valueOrAlt(long checkValue,
long altValue) |
static <T> T |
valueOrAlt(T checkValue,
T altValue) |
static int |
valueOrMax(Integer checkValue,
int max) |
static long |
valueOrMax(Long checkValue,
long max) |
static int |
valueOrMin(Integer checkValue,
int min) |
static long |
valueOrMin(Long checkValue,
long min) |
public static int valueOrMin(Integer checkValue, int min)
public static long valueOrMin(Long checkValue, long min)
public static int valueOrMax(Integer checkValue, int max)
public static long valueOrMax(Long checkValue, long max)
public static int inRange(Integer checkValue, int min, int max)
public static long inRange(Long checkValue, long min, long max)
public static double inRange(Double checkValue, double min, double max)
public static <T> T valueOrAlt(T checkValue,
T altValue)
public static int valueOrAlt(int checkValue,
int altValue)
public static long valueOrAlt(long checkValue,
long altValue)
public static double valueOrAlt(double checkValue,
double altValue)
public static boolean isFloatRange(double value)
public static boolean isIntRange(long value)
public static boolean isShortRange(long value)
public static boolean isByteRange(long value)
Copyright © 2021. All rights reserved.