/** {@inheritDoc} */ @Override public IAtom getAtom(int idx) { logger.debug("Getting atom at: ", idx); return super.getAtom(idx); }
/** * Clones this AminoAcid object. * * @return The cloned object */ @Override public IAminoAcid clone() throws CloneNotSupportedException { AminoAcid clone = (AminoAcid) super.clone(); // copying the new N-terminus and C-terminus pointers if (getNTerminus() != null) clone.setNTerminus(clone.getAtom(getAtomNumber(getNTerminus()))); if (getCTerminus() != null) clone.setCTerminus(clone.getAtom(getAtomNumber(getCTerminus()))); return clone; }
/** * Clones this AminoAcid object. * * @return The cloned object */ @Override public IAminoAcid clone() throws CloneNotSupportedException { AminoAcid clone = (AminoAcid) super.clone(); // copying the new N-terminus and C-terminus pointers if (getNTerminus() != null) clone.setNTerminus(clone.getAtom(getAtomNumber(getNTerminus()))); if (getCTerminus() != null) clone.setCTerminus(clone.getAtom(getAtomNumber(getCTerminus()))); return clone; }