CharacterMatrix pMatrix) {
for (int i = 0; i < pSetVector.size(); i++) {
SpecsSet ss = (SpecsSet) pSetVector.elementAt(i);
if (ss instanceof CharWeightSet) {
CharWeightSet wtSet = (CharWeightSet) ss;
org.cipres.treebase.domain.matrix.CharWeightSet tbWeightSet = createWeightSet(
pMesqMatrix,
wtSet,
pMatrix);
pMatrix.getWeightSets().add(tbWeightSet);
}
}
CharWeightSet defaultWeightSet = (CharWeightSet) pMesqMatrix
.getCurrentSpecsSet(CharWeightSet.class);
if (defaultWeightSet != null) {
org.cipres.treebase.domain.matrix.CharWeightSet tbWeightSet = createWeightSet(
pMesqMatrix,
defaultWeightSet,