code: private static IAtomContainer clearHydrogenCounts(IAtomContainer container) {
          for (IAtom atom : container.atoms())
              atom.setImplicitHydrogenCount(0);
          return container;
      }
docs: Simple helper function that sets all hydrogen counts to 0.
  
  @param container a structure representation
  @return the input container