K
- the type of the keysV
- the type of the valuespublic interface XSDataPacket<K,V>
extends java.util.Map<K,V>, java.lang.Cloneable
In order to be sent over a stream, a data packet is required to fulfill the
XSSignature
of the stream (the stream will call the
XSSignature.evaluate(XSDataPacket)
method).
Map
,
Cloneable
Modifier and Type | Method and Description |
---|---|
XSDataPacket<K,V> |
clone()
Creates and returns a copy of this object.
|
long |
diskSize()
This method returns the size of the current data packet
|
long diskSize()
XSDataPacket<K,V> clone()