for (int i = 0; i < pSetVector.size(); i++) {
SpecsSet ss = (SpecsSet) pSetVector.elementAt(i);
if (ss instanceof CodonPositionsSet) {
CodonPositionsSet cpSet = (CodonPositionsSet) ss;
CodonPositionSet tbCodonPosSet = createCodonPosSet(pMesqMatrix, cpSet, pMatrix);
pMatrix.getCodonPosSets().add(tbCodonPosSet);
}
}
CodonPositionsSet defaultCodonPosSet = (CodonPositionsSet) pMesqMatrix
.getCurrentSpecsSet(CodonPositionsSet.class);
if (defaultCodonPosSet != null) {
CodonPositionSet tbCodonPosSet = createCodonPosSet(
pMesqMatrix,
defaultCodonPosSet,
pMatrix);
pMatrix.setDefaultCodonPosSet(tbCodonPosSet);