public final class Validation extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
greaterEqualZero(String name,
int i) |
static int |
greaterZero(String name,
int i) |
static <T> T |
notNull(String name,
T val) |
static String |
notNullOrEmpty(String name,
String val) |
public static <T> T notNull(String name, T val) throws ConfigurationError
ConfigurationErrorpublic static int greaterZero(String name, int i) throws ConfigurationError
ConfigurationErrorpublic static int greaterEqualZero(String name, int i) throws ConfigurationError
ConfigurationErrorpublic static String notNullOrEmpty(String name, String val) throws ConfigurationError
ConfigurationErrorCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.