Class Nulls

java.lang.Object
is.codion.common.Nulls

public final class Nulls extends Object
Utility class for working with nulls.
  • Method Details

    • nonNull

      public static boolean nonNull(Object object)
      Included to skip the array creation in the varargs version
      Parameters:
      object - the object to check
      Returns:
      true if the object is non null
    • nonNull

      public static boolean nonNull(Object... objects)
      Parameters:
      objects - the objects to check
      Returns:
      true if none of the given objects are null