T - Extracted property type.public interface PropertyExtractor<T> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
extract(StructureRecord mol)
Extract/calculate represented property from a structure.
|
Class<T> |
getExtractedType()
Extracted type.
|
T extract(StructureRecord mol) throws IllegalArgumentException
IllegalArgumentException is thrown when the property of the represented type can not be
extracted, including the following example cases:
mol - Input structureIllegalArgumentException - when the represented type can not be extracted. Implementation note: this is the
expected exception thrown when Chemical Terms are encapsulated and type mismatch surfaces only after execution