Class PathSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<T>
com.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.gand.Path<?>>
com.github.tommyettinger.kryo.gand.PathSerializer
public class PathSerializer
extends com.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.gand.Path<?>>
-
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.gand.Path<?>create(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.gand.Path<?>> type, int size) protected com.github.tommyettinger.gand.Path<?>createCopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.gand.Path<?> original) protected voidwriteHeader(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.gand.Path<?> collection) 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
-
PathSerializer
public PathSerializer()
-
-
Method Details
-
writeHeader
protected void writeHeader(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.gand.Path<?> collection) - Overrides:
writeHeaderin classcom.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.gand.Path<?>>
-
create
protected com.github.tommyettinger.gand.Path<?> create(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.gand.Path<?>> type, int size) - Overrides:
createin classcom.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.gand.Path<?>>
-
createCopy
protected com.github.tommyettinger.gand.Path<?> createCopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.gand.Path<?> original) - Overrides:
createCopyin classcom.esotericsoftware.kryo.serializers.CollectionSerializer<com.github.tommyettinger.gand.Path<?>>
-