public void setSeqName(String seqName)
{
- this.seqName = (seqName.length() > MAX_ID_LENGTH) ? seqName.substring(
- 0, MAX_ID_LENGTH) : seqName;
+ this.seqName = (seqName.length() > MAX_ID_LENGTH)
+ ? seqName.substring(0, MAX_ID_LENGTH)
+ : seqName;
}
public String getSeqResidue()
public void setStrName(String strName)
{
- this.strName = (strName.length() > MAX_ID_LENGTH) ? strName.substring(
- 0, MAX_ID_LENGTH) : strName;
+ this.strName = (strName.length() > MAX_ID_LENGTH)
+ ? strName.substring(0, MAX_ID_LENGTH)
+ : strName;
}
public String getStrResidue()