Interface Output<I>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Input<I> getInput()
      Make a Input instance from this.
      boolean put​(I item)
      Write the data item
      int put​(java.util.List<I> buffer)  
      int put​(java.util.List<I> buffer, int from, int to)
      Bulk put method for the items from the specified buffer
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • put

        boolean put​(I item)
             throws java.io.IOException
        Write the data item
        Parameters:
        item - the item to put
        Throws:
        java.io.IOException - if fails some-why
      • put

        int put​(java.util.List<I> buffer,
                int from,
                int to)
         throws java.io.IOException
        Bulk put method for the items from the specified buffer
        Parameters:
        buffer - the buffer containing the items to put
        Returns:
        the count of the items successfully written
        Throws:
        java.io.IOException
      • put

        int put​(java.util.List<I> buffer)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getInput

        Input<I> getInput()
                   throws java.io.IOException
        Make a Input instance from this.
        Returns:
        Input instance containing the items which had been written to this output.
        Throws:
        java.io.IOException