Class CoreValidations
java.lang.Object
com.refinedmods.refinedstorage.api.core.CoreValidations
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
validateContains
(Collection<T> collection, T value, String message) static <T> void
validateEmpty
(Collection<T> collection, String message) static <T> void
validateEquals
(T a, T b, String message) static void
validateLargerThanZero
(long value, String message) static void
validateNegative
(long value, String message) static <T> void
validateNotContains
(Collection<T> collection, T value, String message) static <T> void
validateNotEmpty
(Collection<T> collection, String message) static int
validateNotNegative
(int value, String message) static long
validateNotNegative
(long value, String message) static <T> T
validateNotNull
(T value, String message) static <T> void
validateNull
(T value, String message)
-
Method Details
-
validateEquals
-
validateNotNull
-
validateNull
-
validateNegative
-
validateNotNegative
-
validateNotNegative
-
validateLargerThanZero
-
validateEmpty
-
validateNotEmpty
-
validateContains
-
validateNotContains
-