Class KnownSequenceRandomSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.KnownSequenceRandom>
com.github.tommyettinger.kryo.juniper.KnownSequenceRandomSerializer
public class KnownSequenceRandomSerializer
extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.KnownSequenceRandom>
Kryo
Serializer for juniper KnownSequenceRandoms.
Internally, this stores the serialized String produced by KnownSequenceRandom.stringSerialize(Base).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.tommyettinger.random.KnownSequenceRandomcopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.KnownSequenceRandom original) com.github.tommyettinger.random.KnownSequenceRandomread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.random.KnownSequenceRandom> dataClass) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.random.KnownSequenceRandom data) Methods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
KnownSequenceRandomSerializer
public KnownSequenceRandomSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.random.KnownSequenceRandom data) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.KnownSequenceRandom>
-
read
public com.github.tommyettinger.random.KnownSequenceRandom read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.random.KnownSequenceRandom> dataClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.KnownSequenceRandom>
-
copy
public com.github.tommyettinger.random.KnownSequenceRandom copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.KnownSequenceRandom original) - Overrides:
copyin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.KnownSequenceRandom>
-