|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface OfflineIterable.Serializer<A,B extends A>
Determines a strategy to serialize and deserialize elements.
Method Summary | |
---|---|
void |
read(DataInput dis,
B x)
Reads an element. |
void |
write(A x,
DataOutput dos)
Writes out an element. |
Method Detail |
---|
void write(A x, DataOutput 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(DataInput 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |