de.javakaffee.kryoserializers
Class CollectionsEmptyMapSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer
com.esotericsoftware.kryo.serialize.SimpleSerializer<Map<?,?>>
de.javakaffee.kryoserializers.CollectionsEmptyMapSerializer
public class CollectionsEmptyMapSerializer
- extends com.esotericsoftware.kryo.serialize.SimpleSerializer<Map<?,?>>
A kryo Serializer for Maps created via Collections.emptyMap()
or that were just assigned the Collections.EMPTY_MAP.
- Author:
- Martin Grotzke
| Methods inherited from class com.esotericsoftware.kryo.serialize.SimpleSerializer |
readObjectData, writeObjectData |
| Methods inherited from class com.esotericsoftware.kryo.Serializer |
isFinal, newInstance, readObject, setCanBeNull, writeObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionsEmptyMapSerializer
public CollectionsEmptyMapSerializer()
read
public Map<?,?> read(ByteBuffer buffer)
-
- Specified by:
read in class com.esotericsoftware.kryo.serialize.SimpleSerializer<Map<?,?>>
write
public void write(ByteBuffer buffer,
Map<?,?> emptyList)
-
- Specified by:
write in class com.esotericsoftware.kryo.serialize.SimpleSerializer<Map<?,?>>
Copyright © 2010-2011. All Rights Reserved.