public static interface OfflineIterable.Serializer<A,B extends A>
| Modifier and Type | Method and Description |
|---|---|
void |
read(DataInputStream dis,
B x)
Reads an element.
|
void |
write(A x,
DataOutputStream dos)
Writes out an element.
|
void write(A x, DataOutputStream dos) throws IOException
x - the element to be written.dos - the stream where the element should be written.IOException - if an exception occurs while writing.void read(DataInputStream dis, B x) throws IOException
dis - the stream whence the element should be read.x - the object where the element will be read.IOException - if an exception occurs while reading.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.