private UserDefinedCharSet createCharSet(
CharacterData pMesqMatrix,
CharSelectionSet pCharSet,
CharacterMatrix pMatrix) {
UserDefinedCharSet tbCharSet = new UserDefinedCharSet();
tbCharSet.setTitle(pCharSet.getName());
tbCharSet.setMatrix(pMatrix);
int numChars = pMesqMatrix.getNumChars();
// Set<CharWeight> tbWeights = new HashSet<CharWeight>();
// create one char weight for each columnRangeConvertHelper
ColumnRangeConvertHelper colRangeHelper = decodeBitsSpecsSet(pCharSet, numChars);
tbCharSet.setColumns(colRangeHelper.getColRanges());
if (LOGGER.isDebugEnabled()) {
StringBuilder sb = new StringBuilder();
sb.append(tbCharSet.getTitle()).append(" = ");
for (ColumnRange aRange : tbCharSet.getColumns()) {
aRange.appendRange(sb).append(" ");
}
LOGGER.debug(sb.toString());
}