Output<T>, java.io.Closeable, java.lang.AutoCloseableBinFileOutputpublic abstract class BinOutput<T> extends java.lang.Object implements Output<T>
| Modifier and Type | Field | Description |
|---|---|---|
protected java.io.ObjectOutputStream |
output |
| Modifier | Constructor | Description |
|---|---|---|
protected |
BinOutput(java.io.ObjectOutputStream output) |
| Modifier and Type | Method | 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.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object