-
-
Field Summary
Fields Modifier and Type Field Description private final Function1<A, E>functionprivate final CoAcceptor<E, R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresultprivate final BooleanstageComplete
-
Method Summary
Modifier and Type Method Description final Function1<A, E>getFunction()UnitacceptObject(A value)Accept a value, after closedcheck and test for end of data.-
Methods inherited from class net.pwall.pipeline.AbstractCoPipeline
close, emit, flush, getDownstream -
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
getComplete, getResult -
Methods inherited from class net.pwall.pipeline.BaseCoPipeline
getStageComplete -
Methods inherited from class net.pwall.pipeline.AbstractCoAcceptor
accept -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CoMapper
CoMapper(CoAcceptor<E, R> downstream, Function1<A, E> function)
-
-
Method Detail
-
getFunction
final Function1<A, E> getFunction()
-
acceptObject
Unit acceptObject(A value)
Accept a value, after
closedcheck and test for end of data. Implementing classes must supply an implementation of this method.- Parameters:
value- the input value
-
-
-
-