Class MapSerializer
-
-
Constructor Summary
Constructors Constructor Description MapSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.andrewoma.dexx.collection.Map<Object,Object>read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.andrewoma.dexx.collection.Map<Object,? extends Object>> type)static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo)Creates a newImmutableMapSerializerand registers its serializer for the several ImmutableMap related classes.voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.andrewoma.dexx.collection.Map<Object,? extends Object> immutableMap)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.andrewoma.dexx.collection.Map<Object,? extends Object> immutableMap)
-
read
public com.github.andrewoma.dexx.collection.Map<Object,Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.andrewoma.dexx.collection.Map<Object,? extends Object>> type)
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
Creates a newImmutableMapSerializerand registers its serializer for the several ImmutableMap related classes.- Parameters:
kryo- theKryoinstance to set the serializer on
-
-