@Beta @PublicAPI public interface StandardizerWrapper extends Serializable
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.
Modifier and Type | Method and Description |
---|---|
StandardizerWrapper |
and(StandardizerWrapper w)
Create a new wrapper representing an additional step.
|
void |
standardize(Molecule m)
Invoke represented transformation.
|
void standardize(Molecule m)
m
- Molecule to modify.IllegalArgumentException
- in case of standardization problemStandardizerWrapper and(StandardizerWrapper w)
w
- Further step to represent