public interface Output<I>
extends java.io.Closeable
| Modifier and Type | Method and 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
|
boolean put(I item) throws java.io.IOException
item - the item to putjava.io.IOException - if fails some-whyint put(java.util.List<I> buffer, int from, int to) throws java.io.IOException
buffer - the buffer containing the items to putjava.io.IOExceptionint put(java.util.List<I> buffer) throws java.io.IOException
java.io.IOException