code: @Override
      public List<IBond> getConnectedBondsList(IAtom atom) {
          List<IBond> bondsList = new ArrayList<IBond>();
          for (int i = 0; i < bondCount; i++) {
              if (bonds[i].contains(atom)) bondsList.add(bonds[i]);
          }
          return bondsList;
      }
docs: Returns an ArrayList of all Bonds connected to the given atom.
  
  @param  atom  The atom the connected bonds are searched of
  @return       The ArrayList with connected atoms