public static int nullSafeHashCode(@Nullable float[] array) {
        if (array == null) {
            return 0;
        }
        int hash = INITIAL_HASH;
        for (float element : array) {
            hash = MULTIPLIER * hash + Float.hashCode(element);
        }
        return hash;
    }
Return a hash code based on the contents of the specified array.
If {@code array} is {@code null}, this method returns 0.
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/ObjectUtils.java