*/
package jalview.datamodel;
+import jalview.analysis.Rna;
+import jalview.analysis.SecStrConsensus.SimpleBP;
+import jalview.analysis.WUSSParseException;
+
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
-import jalview.analysis.Rna;
-import jalview.analysis.SecStrConsensus.SimpleBP;
-import jalview.analysis.WUSSParseException;
-
/**
* DOCUMENT ME!
*
{
return ((index + offset < 0) || (index + offset) >= max
|| annotations[index + offset] == null || (annotations[index
- + offset].secondaryStructure < ' ') ? ' '
- : annotations[index + offset].secondaryStructure);
+ + offset].secondaryStructure <= ' ') ? ' '
+ : annotations[index + offset].displayCharacter.charAt(0));
}
@Override
for (int i = offset; i < mx; i++)
{
- string[i] = (annotations[i] == null || (annotations[i].secondaryStructure < 32)) ? ' '
- : annotations[i].secondaryStructure;
+ string[i] = (annotations[i] == null || (annotations[i].secondaryStructure <= 32)) ? ' '
+ : annotations[i].displayCharacter.charAt(0);
}
return new String(string);
}