Package 

Class JSONArrayCoPipeline

  • All Implemented Interfaces:
    java.lang.AutoCloseable , net.pwall.util.pipeline.BaseCoAcceptor , net.pwall.util.pipeline.IntCoAcceptor , net.pwall.util.pipeline.IntObjectCoPipeline

    
    public final class JSONArrayCoPipeline<R extends Object>
    extends AbstractIntObjectCoPipeline<JSONValue, R>
                        

    A (coroutine) pipeline that accepts a JSON array as a stream of Unicode code points and emits a JSONValue for each item in the array.

    • Constructor Summary

      Constructors 
      Constructor Description
      JSONArrayCoPipeline(CoAcceptor<JSONValue, R> valueConsumer)
    • Method Summary

      Modifier and Type Method Description
      Unit acceptInt(Integer value)
      Unit close()
      Boolean getComplete()
      final Boolean get_closed()
      Boolean getClosed()
      final CoAcceptor<JSONValue, R> getDownstream()
      R getResult()
      final Unit set_closed(Boolean _closed)
      • Methods inherited from class net.pwall.util.pipeline.AbstractIntObjectCoPipeline

        accept
      • Methods inherited from class net.pwall.util.pipeline.AbstractIntCoAcceptor

        accept, accept
      • Methods inherited from class net.pwall.json.stream.JSONArrayCoPipeline

        emit, flush
      • Methods inherited from class java.lang.AutoCloseable

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait