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