@Override
    public WeightedSetDataType getDataType() {
        return (WeightedSetDataType) super.getDataType();
    }
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