@Override
        public void freeze() {
            if (frozen) return;
            sort();
            if (resolutionList != null)
                resolutionList = List.copyOf(resolutionList);
            frozen = true;
        }
Returns the query profile variant having exactly the given dimensions, and creates it if create is set and
it is missing

@param  dimensionValues the dimension values
@param  create whether or not to create the variant if missing
@return the profile variant, or null if not found and create is false
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileVariants.java