Package xades4j.utils

Class ObjectUtils

java.lang.Object
xades4j.utils.ObjectUtils

public class ObjectUtils extends Object
Utility methods for objects.
Author:
Luís
  • Method Details

    • allNull

      public static boolean allNull(Object... objs)
      Indicates whether all the objects are null.
      Parameters:
      objs - the set of objects to be checked
      Returns:
      true if all the objects are null
    • anyNull

      public static boolean anyNull(Object... objs)
      Indicates whether any of the objects are null.
      Parameters:
      objs - the set of objects to be checked
      Returns:
      true if at least one object is null