Class CoreValidations
java.lang.Object
com.refinedmods.refinedstorage.api.core.CoreValidations
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidvalidateContains(Collection<T> collection, T value, String message) static <T> voidvalidateEmpty(Collection<T> collection, String message) static <T> voidvalidateEquals(T a, T b, String message) static voidvalidateLargerThanZero(long value, String message) static voidvalidateNegative(long value, String message) static <T> voidvalidateNotContains(Collection<T> collection, T value, String message) static <T> voidvalidateNotEmpty(Collection<T> collection, String message) static intvalidateNotNegative(int value, String message) static longvalidateNotNegative(long value, String message) static <T> TvalidateNotNull(T value, String message) static <T> voidvalidateNull(T value, String message)
-
Method Details
-
validateEquals
-
validateNotNull
-
validateNull
-
validateNegative
-
validateNotNegative
-
validateNotNegative
-
validateLargerThanZero
-
validateEmpty
-
validateNotEmpty
-
validateContains
-
validateNotContains
-