| 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 alternative) |
static float |
valueOrAlt(float checkValue,
float alternative) |
static int |
valueOrAlt(int checkValue,
int alternative) |
static long |
valueOrAlt(long checkValue,
long alternative) |
static <T> T |
valueOrAlt(T checkValue,
T alternative) |
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 alternative)
public static int valueOrAlt(int checkValue,
int alternative)
public static long valueOrAlt(long checkValue,
long alternative)
public static float valueOrAlt(float checkValue,
float alternative)
public static double valueOrAlt(double checkValue,
double alternative)
Copyright © 2019. All rights reserved.