Interface StandardizerWrapper

All Superinterfaces:
Serializable

@Beta @PublicApi public interface StandardizerWrapper extends Serializable
Wrap Standardizer for the similarity subsystem.

The wrapper must be stateless, thread safe and free from side effects. Implementations must be prepared to concurrent invocations of the standardize(chemaxon.struc.Molecule) method from different threads, with different Molecules on the same StandardizerWrapper reference.

To create a thread safe wrapper for a Standardizer object the utilities in StandardizerWrappers can be used.

Note that implementations are expected to be Serializable.

Please note that this interface is marked with Beta annotation, so it can be subject of incompatible changes or removal in later releases.

  • Method Details

    • standardize

      void standardize(Molecule m)
      Invoke represented transformation.
      Parameters:
      m - Molecule to modify.
      Throws:
      IllegalArgumentException - in case of standardization problem
    • and

      Create a new wrapper representing an additional step.
      Parameters:
      w - Further step to represent
      Returns:
      New instance