T
- type of object to mappublic interface Mapper<T>
Modifier and Type | Interface and Description |
---|---|
static class |
Mapper.MappingStyle
Available mapping styles by
Mapper |
Modifier and Type | Method and Description |
---|---|
boolean |
map(T item)
Marks the matching parts of item with the same identifier.
|
void |
setKeepMapping(boolean keepMapping)
Sets if the initial mapping of the given object should be kept or not.
|
void |
setMappingStyle(Mapper.MappingStyle style)
Sets the mapping style
|
void |
setMarkBonds(boolean markResult)
Sets if the changing bonds should be marked or not.
|
boolean map(T item)
item
- the item to map the parts oftrue
if mapping was successfulvoid setMappingStyle(Mapper.MappingStyle style)
style
- the mapping style to setvoid setMarkBonds(boolean markResult)
markResult
- if the reaction center should be marked or notvoid setKeepMapping(boolean keepMapping)
keepMapping
- if the initial mapping of the given object should be kept or not