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