-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.CoAcceptor
public final class ListCoAcceptor<A extends Object> extends AbstractCoAcceptor<A, List<A>>
A CoAcceptor that accumulates its input tp a List.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classListCoAcceptor.Companion
-
Constructor Summary
Constructors Constructor Description ListCoAcceptor(Integer initialCapacity)
-
Method Summary
Modifier and Type Method Description List<A>getResult()UnitacceptObject(A value)Accept a value, after closedcheck and test for end of data.-
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
close, getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
flush, getComplete -
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
-
ListCoAcceptor
ListCoAcceptor(Integer initialCapacity)
-
-
-
-