Package io.protostuff
Class MapSchema.MapWrapper<K,V>
java.lang.Object
io.protostuff.MapSchema.MapWrapper<K,V>
- All Implemented Interfaces:
Map.Entry<K,
V>
-
Field Details
-
map
The actual map being operated on. -
value
V valueA temporary storage for the value if the key is not yet available.
-
-
Constructor Details
-
MapWrapper
-
-
Method Details
-
getKey
The key is provided as the last arg ofMapSchema.putValueFrom(Input, MapWrapper, Object)
. -
getValue
Gets the last value set. -
setValue
Sets the new value and returns the old one. This method is useful for storage when deserializing cyclic object graphs. -
put
Puts the key-value entry.
-