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!

Author:
Juergen Hoeller, Keith Donald, Rod Johnson, Rob Harrop, Chris Beams Code copied from Spring source. Modifications made (mostly removal of methods) by Per Wendel.
  • 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