Package spark.utils

Class ObjectUtils

java.lang.Object
spark.utils.ObjectUtils

public abstract class ObjectUtils extends Object
Miscellaneous object utility methods. Mainly for internal use within the framework.

Thanks to Alex Ruiz for contributing several enhancements to this class!

  • Constructor Details

    • ObjectUtils

      public ObjectUtils()
  • Method Details

    • isEmpty

      public static boolean isEmpty(Object[] array)
      Determine whether the given array is empty: i.e. null or of zero length.
      Parameters:
      array - the array to check
      Returns:
      if empty