R - the result type
public class BaseAbstractCoAcceptor<R> implements BaseCoAcceptor<R>
Common functionality for class AbstractCoAcceptor and class AbstractIntCoAcceptor.
| Constructor and Description |
|---|
BaseAbstractCoAcceptor()
Common functionality for
class AbstractCoAcceptor and class AbstractIntCoAcceptor. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the acceptor. Throws an exception if the acceptor is not in the "complete" state.
|
boolean |
getClosed()
true if the acceptor is closed |
boolean |
getComplete()
Default
true (all sequences in the input are complete) |
R |
getResult()
Get the result object (default implementation throws exception).
|
getClosed, getComplete, getResultpublic BaseAbstractCoAcceptor()
Common functionality for class AbstractCoAcceptor and class AbstractIntCoAcceptor.
public boolean getComplete()
Default true (all sequences in the input are complete)
public boolean getClosed()
true if the acceptor is closed
public void close()
Close the acceptor. Throws an exception if the acceptor is not in the "complete" state.
public R getResult()
Get the result object (default implementation throws exception).