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.
|
public void pre()
SUL
protected abstract C createContext()
public void post()
SUL
protected abstract void disposeContext(C context)
public O step(I in) throws SULException
SUL
step
in interface SUL<I extends ContextExecutableInput<? extends O,? super C>,O>
in
- input to the SULSULException
Copyright © 2018. All rights reserved.