code: @Override
      public void saturate(IAtomContainer atomContainer) throws CDKException {
          logger.info("Saturating atomContainer by adjusting bond orders...");
          boolean allSaturated = allSaturated(atomContainer);
          if (!allSaturated) {
              logger.info("Saturating bond orders is needed...");
              IBond[] bonds = new IBond[atomContainer.getBondCount()];
              for (int i = 0; i < bonds.length; i++)
                  bonds[i] = atomContainer.getBond(i);
              boolean succeeded = saturate(bonds, atomContainer);
              if (!succeeded) {
                  throw new CDKException("Could not saturate this atomContainer!");
              }
          }
      }
docs: Saturates a molecule by setting appropriate bond orders.
  
  @cdk.keyword            bond order, calculation
  
  @cdk.created 2003-10-03