@Override
    public Iterator<K> fieldValueIterator() {
        return map.keySet().iterator();
    }
Creates a new weighted set with a given initial capacity.

@param initialCapacity the initial capacity to use for the encapsulated Map
document/src/main/java/com/yahoo/document/datatypes/WeightedSet.java