| Constructor | Description |
|---|---|
ValueUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static double |
inRange(double checkValue,
double min,
double max) |
|
static int |
inRange(int checkValue,
int min,
int max) |
|
static <T> T[] |
nullOrNotEmpty(T[] checkValue) |
|
static int |
valueOrDefault(int checkValue,
int defaultValue) |
|
static <T> T |
valueOrDefault(T checkValue,
T defaultValue) |
public static int inRange(int checkValue,
int min,
int max)
public static double inRange(double checkValue,
double min,
double max)
public static int valueOrDefault(int checkValue,
int defaultValue)
public static <T> T valueOrDefault(T checkValue,
T defaultValue)
public static <T> T[] nullOrNotEmpty(T[] checkValue)
Copyright © 2018. All rights reserved.