public class ValidationUtils extends Object
Constructor and Description |
---|
ValidationUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
ensureBetween(Double d,
double min,
double max,
String name) |
static int |
ensureGreaterThanZero(Integer i,
String name) |
static String |
ensureNotBlank(String string,
String name) |
static <T extends Collection<?>> |
ensureNotEmpty(T collection,
String name) |
static <T> T |
ensureNotNull(T object,
String name) |
public static <T> T ensureNotNull(T object, String name)
public static <T extends Collection<?>> T ensureNotEmpty(T collection, String name)
Copyright © 2023. All rights reserved.