Class GapShufflerSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.GapShuffler>
com.github.tommyettinger.kryo.cringe.GapShufflerSerializer
public class GapShufflerSerializer
extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.GapShuffler>
Needs
ArraySerializer to be registered for Array,
the concrete subclass of GdxRandom registered, and
the type of whatever items are in the GapShuffler registered.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.tommyettinger.cringe.GapShufflercopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.cringe.GapShuffler original) com.github.tommyettinger.cringe.GapShufflerread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.cringe.GapShuffler> dataClass) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.cringe.GapShuffler data) Methods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
GapShufflerSerializer
public GapShufflerSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.cringe.GapShuffler data) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.GapShuffler>
-
read
public com.github.tommyettinger.cringe.GapShuffler read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.cringe.GapShuffler> dataClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.GapShuffler>
-
copy
public com.github.tommyettinger.cringe.GapShuffler copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.cringe.GapShuffler original) - Overrides:
copyin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.GapShuffler>
-