Class Util
- java.lang.Object
-
- zone.gryphon.maven.plugins.scm.util.Util
-
public final class Util extends Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
firstNonNull(T... args)
Return the first non-null element, or null if all elements are nullstatic boolean
isBlank(String input)
static boolean
isNonBlank(String input)
-
-
-
Method Detail
-
firstNonNull
public static <T> T firstNonNull(T... args)
Return the first non-null element, or null if all elements are null- Type Parameters:
T
- The type- Parameters:
args
- Elements- Returns:
- The first non-null element, or null if all elements are null
-
isNonBlank
public static boolean isNonBlank(String input)
-
isBlank
public static boolean isBlank(String input)
-
-