Class Util


  • public final class Util
    extends Object
    • Constructor Detail

      • Util

        public Util()
    • 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)