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