Package spark.utils

Class ObjectUtils


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

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

    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isEmpty​(java.lang.Object[] array)
      Determine whether the given array is empty: i.e.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectUtils

        public ObjectUtils()
    • Method Detail

      • isEmpty

        public static boolean isEmpty​(java.lang.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