Class Preconditions

java.lang.Object
xyz.felh.openai.utils.Preconditions

public class Preconditions extends Object
Author:
Forest Wang
  • 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)