public static <T> int size(final T[] items) {
        return items != null
                ? items.length
                : 0;
    }
@return The size of the collection or zero if null.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java