@Override public String toString() { StringBuffer stringContent = new StringBuffer(32); stringContent.append("AminoAcid("); stringContent.append(this.hashCode()); if (nTerminus != null) { stringContent.append(", N:").append(nTerminus.toString()); } if (cTerminus != null) { stringContent.append(", C:").append(cTerminus.toString()); } stringContent.append(", ").append(super.toString()); stringContent.append(')'); return stringContent.toString(); }
@Override public String toString() { StringBuffer stringContent = new StringBuffer(32); stringContent.append("AminoAcid("); stringContent.append(this.hashCode()); if (nTerminus != null) { stringContent.append(", N:").append(nTerminus.toString()); } if (cTerminus != null) { stringContent.append(", C:").append(cTerminus.toString()); } stringContent.append(", ").append(super.toString()); stringContent.append(')'); return stringContent.toString(); }
/** * Returns a one line string representation of this Atom. * Methods is conform RFC #9. * * @return The string representation of this Atom */ @Override public String toString() { StringBuilder description = new StringBuilder(50); description.append("PDBMonomer("); description.append(this.hashCode()); description.append(", iCode=").append(getICode()); description.append(", chainID=").append(getChainID()).append(", "); description.append(super.toString()); description.append(')'); return description.toString(); }
/** * Returns a one line string representation of this Atom. * Methods is conform RFC #9. * * @return The string representation of this Atom */ @Override public String toString() { StringBuilder description = new StringBuilder(50); description.append("PDBMonomer("); description.append(this.hashCode()); description.append(", iCode=").append(getICode()); description.append(", chainID=").append(getChainID()).append(", "); description.append(super.toString()); description.append(')'); return description.toString(); }