A - the accepted (input) value typeR - the result typepublic abstract class AbstractObjectIntPipeline<A,R> extends AbstractAcceptor<A,R> implements ObjectIntPipeline<A,R>
IntObjectPipeline implementations.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractObjectIntPipeline(IntAcceptor<? extends R> downstream)
Construct an
AbstractObjectIntPipeline with the given downstream IntAcceptor. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the pipeline.
|
void |
emit(int value)
Emit a value to the downstream
IntAcceptor. |
void |
flush()
Propagate the flush operation to the downstream acceptor.
|
IntAcceptor<? extends R> |
getDownstream()
Get the downstream
IntAcceptor |
accept, accept, acceptObjectisClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResult, isComplete, isStageCompleteisClosed, safeCloseprotected AbstractObjectIntPipeline(IntAcceptor<? extends R> downstream)
AbstractObjectIntPipeline with the given downstream IntAcceptor.downstream - the IntAcceptorpublic IntAcceptor<? extends R> getDownstream()
IntAcceptorgetDownstream in interface BasePipeline<R>IntAcceptorpublic void close()
throws Exception
close in interface AutoCloseableclose in class BaseAbstractAcceptor<R>Exception - if thrown by the downstream or superclass close() functionspublic void emit(int value)
IntAcceptor.emit in interface ObjectIntPipeline<A,R>value - the value to be forwardedpublic void flush()
flush in interface BaseAcceptor<R>Copyright © 2025. All rights reserved.