| Constructor and Description |
|---|
ValueUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
inRange(double checkValue,
double min,
double max) |
static long |
inRange(long checkValue,
long min,
long max) |
static double |
valueOrAlt(double checkValue,
double altValue) |
static float |
valueOrAlt(float checkValue,
float 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(int checkValue,
int max) |
static long |
valueOrMax(long checkValue,
long max) |
static int |
valueOrMin(int checkValue,
int min) |
static long |
valueOrMin(long checkValue,
long min) |
public static int valueOrMin(int checkValue,
int min)
public static long valueOrMin(long checkValue,
long min)
public static int valueOrMax(int checkValue,
int max)
public static long valueOrMax(long checkValue,
long 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 float valueOrAlt(float checkValue,
float altValue)
public static double valueOrAlt(double checkValue,
double altValue)
Copyright © 2019. All rights reserved.