@Test public void testToString() { ResidueNumber instance = new ResidueNumber("A", 42, ' '); String expResult = "42"; String result = instance.toString(); assertEquals(expResult, result); }
@Override public String toString() { StringWriter writer = new StringWriter(); writer.append(String.valueOf(seqNum)); if ( insCode != null && ( insCode != ' ')) writer.append(insCode); return writer.toString(); }
ResidueNumber implements Serializable, Comparable<ResidueNumber> { @Override public String toString() { StringWriter writer = new StringWriter(); writer.append(String.valueOf(seqNum)); if ( insCode != null && ( insCode != ' ')) writer.append(insCode); return writer.toString(); } }
ResidueNumber implements Serializable, Comparable<ResidueNumber> { @Override public String toString() { StringWriter writer = new StringWriter(); writer.append(String.valueOf(seqNum)); if ( insCode != null && ( insCode != ' ')) writer.append(insCode); return writer.toString(); } ResidueNumber();  ResidueNumber(String chainId, Integer residueNumber, Character insCode); }
ResidueNumber implements Serializable, Comparable<ResidueNumber> { @Override public String toString() { StringWriter writer = new StringWriter(); writer.append(String.valueOf(seqNum)); if ( insCode != null && ( insCode != ' ')) writer.append(insCode); return writer.toString(); } ResidueNumber();  ResidueNumber(String chainId, Integer residueNumber, Character insCode); String getChainId(); void setChainId(String chainId); Character getInsCode(); void setInsCode(Character insCode); Integer getSeqNum(); void setSeqNum(Integer seqNum); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); String toPDB(); static ResidueNumber fromString(String pdb_code); int compareTo(ResidueNumber other); String printFull(); }
ResidueNumber implements Serializable, Comparable<ResidueNumber> { @Override public String toString() { StringWriter writer = new StringWriter(); writer.append(String.valueOf(seqNum)); if ( insCode != null && ( insCode != ' ')) writer.append(insCode); return writer.toString(); } ResidueNumber();  ResidueNumber(String chainId, Integer residueNumber, Character insCode); String getChainId(); void setChainId(String chainId); Character getInsCode(); void setInsCode(Character insCode); Integer getSeqNum(); void setSeqNum(Integer seqNum); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); String toPDB(); static ResidueNumber fromString(String pdb_code); int compareTo(ResidueNumber other); String printFull();  }