|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of objects that this object may codepublic interface Coder<T>
The Coder interface represents a coder of an object as a bidimensional array of bytes
Method Summary | |
---|---|
byte[][] |
code(java.util.Vector<T> objects)
Codes a vector of objects as a bidimensional array of bytes. |
java.util.Vector<T> |
decode(byte[][] codedObjects,
int numberOfCodedObjects)
Decodes a bidimensional array of bytes as a vector of objects. |
int |
getCodedArrayLength()
|
Method Detail |
---|
byte[][] code(java.util.Vector<T> objects)
objects
- A vector of objects
java.util.Vector<T> decode(byte[][] codedObjects, int numberOfCodedObjects)
codedObjects
- the coded objects as a bidimensional array of bytesnumberOfCodedObjects
- the number of objects that are coded
int getCodedArrayLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |