Class SoloRandomSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.SoloRandom>
com.github.tommyettinger.kryo.juniper.SoloRandomSerializer
public class SoloRandomSerializer
extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.SoloRandom>
Kryo
Serializer for juniper SoloRandoms.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.tommyettinger.random.SoloRandomcopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.SoloRandom original) com.github.tommyettinger.random.SoloRandomread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.random.SoloRandom> dataClass) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.random.SoloRandom data) Methods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
SoloRandomSerializer
public SoloRandomSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.random.SoloRandom data) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.SoloRandom>
-
read
public com.github.tommyettinger.random.SoloRandom read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.random.SoloRandom> dataClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.SoloRandom>
-
copy
public com.github.tommyettinger.random.SoloRandom copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.SoloRandom original) - Overrides:
copyin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.SoloRandom>
-