public class NumberValidations extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number> |
isByte()
provides a validation which validates if a values matches to a byte.
|
static <T extends Number> |
isInt()
provides a validation which validates if a values matches to an integer.
|
static <T extends Number> |
isShort()
provides a validation which validates if a values matches to a short.
|
public static <T extends Number> Validation<T> isInt()
T - the type of Numberpublic static <T extends Number> Validation<T> isByte()
T - the type of Numberpublic static <T extends Number> Validation<T> isShort()
T - the type of NumberCopyright © 2018. All rights reserved.