/** * Returns the number of Bonds for a given Atom. * *@param atom The atom *@return The number of Bonds for this atom */ @Override public int getConnectedBondsCount(IAtom atom) { return getConnectedAtomsCount(atom); }
/** * Returns the number of connected atoms (degree) to the given atom. * *@param idx The atomnumber the degree is searched for *@return The number of connected atoms (degree) */ @Override public int getConnectedBondsCount(int idx) { return getConnectedAtomsCount(atoms[idx]); }