Interface CompositeReadableBuffer.ReadOperation<T>

    • Method Detail

      • read

        int read​(ReadableBuffer buffer,
                 int length,
                 T dest,
                 int value)
          throws java.io.IOException
        This method can also be used to simultaneously perform operation-specific int-valued aggregation over the sequence of buffers in a CompositeReadableBuffer. value is the return value from the prior buffer, or the "initial" value passed to execute() in the case of the first buffer. execute() returns the value returned by the operation called on the last buffer.
        Throws:
        java.io.IOException