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