ch.bind.philib.validation
public abstract class Validation extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Validation() |
| Modifier and Type | Method and Description |
|---|---|
static void |
isFalse(boolean value) |
static void |
isFalse(boolean value,
String message) |
static void |
isTrue(boolean value) |
static void |
isTrue(boolean value,
String message) |
static <T> void |
noNullValues(T[] values) |
static <T> void |
noNullValues(T[] values,
String message) |
static void |
notNegative(int value) |
static void |
notNegative(int value,
String message) |
static void |
notNegative(long value) |
static void |
notNegative(long value,
String message) |
static void |
notNull(Object obj) |
static void |
notNull(Object obj,
String message) |
static void |
notNullOrEmpty(CharSequence value) |
static void |
notNullOrEmpty(CharSequence value,
String message) |
static void |
notNullOrEmpty(Collection<?> value) |
static void |
notNullOrEmpty(Collection<?> value,
String message) |
static <T> void |
notNullOrEmpty(T[] value) |
static <T> void |
notNullOrEmpty(T[] value,
String message) |
public static void notNegative(int value)
public static void notNegative(int value,
String message)
public static void notNegative(long value)
public static void notNegative(long value,
String message)
public static void notNull(Object obj)
public static void isTrue(boolean value)
public static void isTrue(boolean value,
String message)
public static void isFalse(boolean value)
public static void isFalse(boolean value,
String message)
public static void notNullOrEmpty(CharSequence value)
public static void notNullOrEmpty(CharSequence value, String message)
public static void notNullOrEmpty(Collection<?> value)
public static void notNullOrEmpty(Collection<?> value, String message)
public static <T> void notNullOrEmpty(T[] value)
public static <T> void notNullOrEmpty(T[] value,
String message)
public static <T> void noNullValues(T[] values)
public static <T> void noNullValues(T[] values,
String message)
Copyright © 2013. All Rights Reserved.