Package com.tick42.glue.internal.core
Class Check
java.lang.Object
com.tick42.glue.internal.core.Check
public final class Check extends Object
-
Method Summary
Modifier and Type Method Description static booleanisEmpty(Map<?,?> map)static longisLong(Object value, String name)static StringisString(Object value, String name)static StringnotEmpty(String string, String name)static <T> Collection<T>notEmpty(Collection<T> collection, String name)static voidnotInNonBlockingThread(String operation)static intnotNegative(int value, String name)static longnotNegative(long value, String name)static <T> TnotNull(T value, String name)static DurationnotNullOrNegative(Duration timeout, String name)
-
Method Details
-
notNull
-
notNegative
-
notNegative
-
notNullOrNegative
-
notEmpty
-
notEmpty
-
isLong
-
isString
-
notInNonBlockingThread
-
isEmpty
-