Package xyz.felh.openai.utils
Class Preconditions
java.lang.Object
xyz.felh.openai.utils.Preconditions
- Author:
- Forest Wang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> booleanisBlank(T t) check if object is null for List Map Stringstatic <T> booleanisNotBlank(T t)
-
Constructor Details
-
Preconditions
public Preconditions()
-
-
Method Details
-
isBlank
public static <T> boolean isBlank(T t) check if object is null for List Map String- Type Parameters:
T- Type T- Parameters:
t- object- Returns:
- isBlank
-
isNotBlank
public static <T> boolean isNotBlank(T t)
-