Class ListSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<com.github.andrewoma.dexx.collection.List>
-
- de.javakaffee.kryoserializers.dexx.ListSerializer
-
public class ListSerializer extends com.esotericsoftware.kryo.Serializer<com.github.andrewoma.dexx.collection.List>A kryoSerializerfor dexxList
-
-
Constructor Summary
Constructors Constructor Description ListSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.andrewoma.dexx.collection.List<Object>read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.andrewoma.dexx.collection.List> aClass)static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo)Creates a newImmutableListSerializerand registers its serializervoidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.andrewoma.dexx.collection.List object)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.andrewoma.dexx.collection.List object)- Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.andrewoma.dexx.collection.List>
-
read
public com.github.andrewoma.dexx.collection.List<Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.andrewoma.dexx.collection.List> aClass)
- Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.andrewoma.dexx.collection.List>
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
Creates a newImmutableListSerializerand registers its serializer- Parameters:
kryo- theKryoinstance to set the serializer on
-
-