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