// create one char weight for each columnRangeConvertHelper
Collection<ColumnRangeConvertHelper> colRangeHelpers = decodeNumSpecsSet(pWtSet, numChars);
for (ColumnRangeConvertHelper helper : colRangeHelpers) {
MesquiteNumber mesNum = helper.getNumber();
CharWeight charWeight = null;
if (mesNum.getValueClass() == MesquiteNumber.INT) {
charWeight = new IntegerCharWeight(mesNum.getIntValue());
} else {
charWeight = new RealCharWeight(mesNum.getDoubleValue());
}
charWeight.setWeightColumns(helper.getColRanges());
tbWeights.add(charWeight);
}
tbWeightSet.setCharWeights(tbWeights);