public static DimensionValues createFrom(String[] values) {
        if (values == null || values.length == 0 || containsAllNulls(values)) return empty;
        return new DimensionValues(values);
    }
An immutable set of dimension values.
Note that this may contain more or fewer values than needed given a set of dimensions.
Any missing values are treated as null.

@author bratseth
container-search/src/main/java/com/yahoo/search/query/profile/DimensionValues.java