E - the emitted (downstream) value typeR - the result typepublic abstract class AbstractIntObjectPipeline<E,R> extends AbstractIntAcceptor<R> implements IntObjectPipeline<E,R>
IntObjectPipeline implementations.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIntObjectPipeline(Acceptor<? super E,? extends R> downstream)
Construct an
AbstractIntObjectPipeline with the given downstream Acceptor. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the pipeline.
|
void |
emit(E value)
Emit a value to the downstream
Acceptor. |
void |
flush()
Propagate the flush operation to the downstream acceptor.
|
Acceptor<? super E,? extends R> |
getDownstream()
Get the downstream
Acceptor |
accept, accept, acceptIntisClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accept, accept, accept, accept, accept, accept, accept, acceptandThengetResult, isComplete, isStageCompleteisClosed, safeClosepublic Acceptor<? super E,? extends R> getDownstream()
AcceptorgetDownstream in interface BasePipeline<R>Acceptorpublic void close()
throws Exception
close in interface AutoCloseableclose in class BaseAbstractAcceptor<R>Exception - if thrown by the downstream or superclass close() functionspublic void emit(E value)
Acceptor.emit in interface IntObjectPipeline<E,R>value - the value to be forwardedpublic void flush()
flush in interface BaseAcceptor<R>Copyright © 2025. All rights reserved.