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