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