public abstract class BinOutput<T> extends java.lang.Object implements Output<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.io.ObjectOutputStream |
output |
| Modifier | Constructor and Description |
|---|---|
protected |
BinOutput(java.io.ObjectOutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
put(java.util.List<T> items) |
int |
put(java.util.List<T> buffer,
int from,
int to)
Bulk put method for the items from the specified buffer
|
boolean |
put(T item)
Write the data item
|
java.lang.String |
toString() |
public boolean put(T item) throws java.io.IOException
Outputpublic int put(java.util.List<T> buffer, int from, int to) throws java.io.IOException
Outputpublic final int put(java.util.List<T> items) throws java.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object