public FrequencyGen(Pair<Integer, Gen<T>> ... generatorPairs)
    {
        this.generatorPairs = generatorPairs;
        this.size = 0;
        for (int i = 0; i < generatorPairs.length; ++i)
        {
            this.size += generatorPairs[i].fst();
        }
    }