Package com.chemaxon.overlap.io
Interface StandardizerWrapper
-
- All Superinterfaces:
Serializable
@Beta @PublicAPI public interface StandardizerWrapper extends Serializable
WrapStandardizer
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 sameStandardizerWrapper
reference.To create a thread safe wrapper for a
Standardizer
object the utilities inStandardizerWrappers
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StandardizerWrapper
and(StandardizerWrapper w)
Create a new wrapper representing an additional step.void
standardize(Molecule m)
Invoke represented transformation.
-
-
-
Method Detail
-
standardize
void standardize(Molecule m)
Invoke represented transformation.- Parameters:
m
- Molecule to modify.- Throws:
IllegalArgumentException
- in case of standardization problem
-
and
StandardizerWrapper and(StandardizerWrapper w)
Create a new wrapper representing an additional step.- Parameters:
w
- Further step to represent- Returns:
- New instance
-
-