public class NumberValidationsWithErrorCode extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number> |
isBetween(T min,
T max,
String errorCode) |
static <T extends Number> |
isByte(String errorCode) |
static <T extends Number> |
isGreaterThan(T compareTo,
String errorCode) |
static <T extends Number> |
isInt(String errorCode) |
static <T extends Number> |
isLessThan(T compareTo,
String errorCode) |
static <T extends Number> |
isShort(String errorCode) |
public static <T extends Number> Validation<T> isLessThan(T compareTo, String errorCode)
public static <T extends Number> Validation<T> isGreaterThan(T compareTo, String errorCode)
public static <T extends Number> Validation<T> isBetween(T min, T max, String errorCode)
public static <T extends Number> Validation<T> isInt(String errorCode)
public static <T extends Number> Validation<T> isByte(String errorCode)
public static <T extends Number> Validation<T> isShort(String errorCode)
Copyright © 2018. All rights reserved.