public static int length(final Object[] array) {
    return (array == null ? 0 : array.length);
  }
The ArrayUtils class is an abstract utility class for working with Object arrays.
<p>

@see java.util.Arrays
@since GemFire 8.0
geode-web-api/src/main/java/org/apache/geode/rest/internal/web/util/ArrayUtils.java