public class CollectionsSingletonMapSerializer extends com.esotericsoftware.kryo.Serializer<Map<?,?>>
Serializer
for List
s created via Collections.singletonMap(Object, Object)
.
Note: This serializer does not support cyclic references, if a serialized object is part of a cycle this might cause an error during deserialization.
Constructor and Description |
---|
CollectionsSingletonMapSerializer() |
Modifier and Type | Method and Description |
---|---|
Map<?,?> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<Map<?,?>> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Map<?,?> map) |
Copyright © 2010–2018. All rights reserved.