I - input symbol typeO - output symbol typeC - context typepublic class ContextExecutableInputSUL<I extends ContextExecutableInput<? extends O,? super C>,O,C> extends AbstractContextExecutableInputSUL<I,O,C>
SUL that executes ContextExecutableInput symbols.
The creation and disposal of contexts is delegated to an external ContextExecutableInputSUL.ContextHandler.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContextExecutableInputSUL.ContextHandler<C>
Facility for creating and disposing of contexts on which
ContextExecutableInputs operate. |
| Constructor and Description |
|---|
ContextExecutableInputSUL(ContextExecutableInputSUL.ContextHandler<C> contextHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFork() |
protected C |
createContext() |
protected void |
disposeContext(C context) |
SUL<I,O> |
fork() |
post, pre, steppublic ContextExecutableInputSUL(ContextExecutableInputSUL.ContextHandler<C> contextHandler)
protected C createContext()
createContext in class AbstractContextExecutableInputSUL<I extends ContextExecutableInput<? extends O,? super C>,O,C>protected void disposeContext(C context)
disposeContext in class AbstractContextExecutableInputSUL<I extends ContextExecutableInput<? extends O,? super C>,O,C>public boolean canFork()
Copyright © 2018. All rights reserved.