A - the accepted (input) value type (the emitted type is the same)R - the result typepublic class Filter<A,R> extends AbstractPipeline<A,A,R>
| Constructor and Description |
|---|
Filter(Acceptor<? super A,? extends R> downstream,
Predicate<A> predicate)
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptObject(A value)
Accept a value, after
closed check and test for end of data. |
close, emit, flush, getDownstreamaccept, acceptisClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResult, isComplete, isStageCompleteisClosed, safeClosepublic void acceptObject(A value)
closed check and test for end of data. Emit the value if the predicate returns
true for this value.acceptObject in class AbstractAcceptor<A,R>value - the input valueCopyright © 2025. All rights reserved.