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