code: @Override
      public IBond getNextBond(IBond bond, IAtom atom) {
          IBond tempBond;
          for (int f = 0; f < getBondCount(); f++) {
              tempBond = getBond(f);
              if (tempBond.contains(atom) && !tempBond.equals(bond)) return tempBond;
          }
          return null;
      }
docs: Returns the next bond in order, relative to a given bond and atom.
  Example: Let the ring be composed of 0-1, 1-2, 2-3 and 3-0. A request getNextBond(1-2, 2)
  will return Bond 2-3.
  
  @param   bond  A bond for which an atom from a consecutive bond is sought
  @param   atom  A atom from the bond above to assign a search direction
  @return  The next bond in the order given by the above assignment