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