Class NumberedSetSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<T>
com.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.ds.NumberedSet<?>>
com.github.tommyettinger.kryo.jdkgdxds.NumberedSetSerializer
public class NumberedSetSerializer
extends com.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.ds.NumberedSet<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esotericsoftware.kryo.serializers.CollectionSerializer
com.esotericsoftware.kryo.serializers.CollectionSerializer.BindCollection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.github.tommyettinger.ds.NumberedSet<?>create(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.ds.NumberedSet<?>> type, int size) protected com.github.tommyettinger.ds.NumberedSet<?>createCopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.ds.NumberedSet<?> original) protected voidwriteHeader(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.ds.NumberedSet<?> data) Methods inherited from class com.esotericsoftware.kryo.serializers.CollectionSerializer
copy, getElementClass, getElementSerializer, read, setElementClass, setElementClass, setElementsCanBeNull, setElementSerializer, writeMethods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
NumberedSetSerializer
public NumberedSetSerializer()
-
-
Method Details
-
writeHeader
protected void writeHeader(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.ds.NumberedSet<?> data) - Overrides:
writeHeaderin classcom.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.ds.NumberedSet<?>>
-
create
protected com.github.tommyettinger.ds.NumberedSet<?> create(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.ds.NumberedSet<?>> type, int size) - Overrides:
createin classcom.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.ds.NumberedSet<?>>
-
createCopy
protected com.github.tommyettinger.ds.NumberedSet<?> createCopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.ds.NumberedSet<?> original) - Overrides:
createCopyin classcom.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.ds.NumberedSet<?>>
-