Package valorless.valorlessutils.json
Class Validate.State
java.lang.Object
valorless.valorlessutils.json.Validate.State
- Enclosing class:
- Validate
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static double
isFinite
(double value) static double
static double
static float
isFinite
(float value) static float
static float
static boolean
isTrue
(boolean expression) static boolean
static boolean
static <@Nullable T>
Tstatic <@Nullable T>
Tstatic <@Nullable T>
Tstatic <T extends Iterable<?>>
@NonNull TnoNullElements
(@Nullable T iterable, String errorMessage) static <T extends Iterable<?>>
@NonNull TnoNullElements
(@Nullable T iterable, Supplier<String> errorMessageSupplier) static String
static String
static String
static double
notNaN
(double value) static double
static double
static float
notNaN
(float value) static float
static float
static <T> @NonNull T
notNull
(@UnknownInitialization @Nullable T object) static <T> @NonNull T
static <T> @NonNull T
-
Method Details
-
error
-
error
-
notNull
@EnsuresNonNull("#1") public static <T> @NonNull T notNull(@UnknownInitialization @Nullable T object) -
notNull
@EnsuresNonNull("#1") public static <T> @NonNull T notNull(@UnknownInitialization @Nullable T object, String errorMessage) -
notNull
-
notEmpty
-
notEmpty
-
notEmpty
-
isTrue
public static boolean isTrue(boolean expression) -
isTrue
-
isTrue
-
isTrue
-
isTrue
-
isTrue
-
isFinite
public static double isFinite(double value) -
isFinite
-
isFinite
-
notNaN
public static double notNaN(double value) -
notNaN
-
notNaN
-
isFinite
public static float isFinite(float value) -
isFinite
-
isFinite
-
notNaN
public static float notNaN(float value) -
notNaN
-
notNaN
-
noNullElements
-
noNullElements
-