I - input symbol typeO - output symbol typeC - context typepublic abstract class AbstractContextExecutableInputSUL<I extends ContextExecutableInput<? extends O,? super C>,O,C> extends Object implements SUL<I,O>
SUL that step-wisely executes ContextExecutableInput
symbols.
This class does not specify how contexts are created and disposed of, but declares abstract methods for these tasks.
| Constructor and Description |
|---|
AbstractContextExecutableInputSUL() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract C |
createContext() |
protected abstract void |
disposeContext(C context) |
void |
post()
shut down SUL.
|
void |
pre()
setup SUL.
|
O |
step(I in)
make one step on the SUL.
|
protected abstract C createContext()
protected abstract void disposeContext(C context)
public void pre()
SULpublic void post()
SULpublic O step(I in) throws SULException
SULstep in interface SUL<I extends ContextExecutableInput<? extends O,? super C>,O>in - input to the SULSULExceptionCopyright © 2015. All rights reserved.