Class GradientGridI2Serializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.GradientGridI2>
com.github.tommyettinger.kryo.gand.GradientGridI2Serializer
public class GradientGridI2Serializer
extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.GradientGridI2>
Kryo
Serializer for gand GradientGridI2s.
You must have PointI2 registered to use this as the serializer for GradientGridI2,
such as with PointI2Serializer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.tommyettinger.gand.GradientGridI2copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.gand.GradientGridI2 original) com.github.tommyettinger.gand.GradientGridI2read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.gand.GradientGridI2> dataClass) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.gand.GradientGridI2 data) Methods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
GradientGridI2Serializer
public GradientGridI2Serializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.gand.GradientGridI2 data) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.GradientGridI2>
-
read
public com.github.tommyettinger.gand.GradientGridI2 read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.gand.GradientGridI2> dataClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.GradientGridI2>
-
copy
public com.github.tommyettinger.gand.GradientGridI2 copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.gand.GradientGridI2 original) - Overrides:
copyin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.GradientGridI2>
-