T - The type of elements to be abstracted.public interface Abstracter<T extends Resolver>
| Modifier and Type | Method and Description |
|---|---|
Abstracting<T> |
handleAbstraction(Abstractable<T> toAbstract)
Handle abstraction by abstracting the given elements to a single abstracting instance.
|
void |
undoAbstraction(Abstracting<T> abstracting)
Undo the abstraction for the given abstracting element, by restoring the state as it was previously.
|
Abstracting<T> handleAbstraction(Abstractable<T> toAbstract)
toAbstract - The elements to be abstracted.void undoAbstraction(Abstracting<T> abstracting)
abstracting - The abstracting element.