public static <T> boolean allNonNull(final T... vals) {
        if (vals == null) {
            return false;
        } else {
            boolean allNonNull = true;
            for (final T val : vals) {
                if (val == null) {
                    allNonNull = false;
                    break;
                }
            }
            return allNonNull;
        }
    }
@return True if the array itself is non-null and all values in the array are non-null
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java