- Serializer<T> - Class in com.esotericsoftware.kryo
-
Reads and writes objects to and from bytes.
- Serializer() - Constructor for class com.esotericsoftware.kryo.Serializer
-
- Serializer(boolean) - Constructor for class com.esotericsoftware.kryo.Serializer
-
- Serializer(boolean, boolean) - Constructor for class com.esotericsoftware.kryo.Serializer
-
- set(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- setAcceptsNull(boolean) - Method in class com.esotericsoftware.kryo.Serializer
-
If true, this serializer will handle writing and reading null values.
- setAutoReset(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true (the default),
Kryo.reset()
is called automatically after an entire object graph has been read or written.
- setBuffer(byte[]) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new buffer.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new buffer.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.InputChunked
-
- setBuffer(byte[]) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the buffer that will be written to.
- setBuffer(byte[], int) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the buffer that will be written to.
- setByteBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
- setByteBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
-
- setCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setClass(Class) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setClassLoader(ClassLoader) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the classloader to resolve unregistered class names to classes.
- setCompressionLevel(int) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
Default is 4.
- setDefaultSerializer(Class<? extends Serializer>) - Method in class com.esotericsoftware.kryo.Kryo
-
- setElementClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- setElementsAreSameType(boolean) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
-
- setElementsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- setElementsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
-
- setFieldsAsAccessible(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Controls which fields are serialized.
- setFieldsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- setFixedFieldTypes(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- setGenerics(Kryo, Class[]) - Method in class com.esotericsoftware.kryo.Serializer
-
Sets the generic types of the field or method this serializer will be used for on the next call to read or write.
- setGenerics(Kryo, Class[]) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- setGenerics(Kryo, Class[]) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setIgnoreSyntheticFields(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Controls if synthetic fields are serialized.
- setImmutable(boolean) - Method in class com.esotericsoftware.kryo.Serializer
-
If true, the type this serializer will be used for is considered immutable.
- setInputStream(InputStream) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new InputStream.
- setInputStream(InputStream) - Method in class com.esotericsoftware.kryo.io.InputChunked
-
- setInstantiator(ObjectInstantiator) - Method in class com.esotericsoftware.kryo.Registration
-
- setInstantiatorStrategy(InstantiatorStrategy) - Method in class com.esotericsoftware.kryo.Kryo
-
- setKeyClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setKeysCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setKryo(Kryo) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Sets the Kryo instance that this ClassResolver will be used for.
- setKryo(Kryo) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Sets the Kryo instance that this ClassResolver will be used for.
- setKryo(Kryo) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- setKryo(Kryo) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- setKryo(Kryo) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- setLimit(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the limit in the buffer.
- setMaxDepth(int) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the maxiumum depth of an object graph.
- setNoHeaders(boolean) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
- setOutputStream(OutputStream) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets a new OutputStream.
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the current position in the buffer.
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the current position in the buffer.
- setReadObject(int, Object) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Sets the ID for an object that has been read.
- setReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- setReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- setReferenceResolver(ReferenceResolver) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the reference resolver and enables references.
- setReferences(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true, each appearance of an object in the graph after the first is stored as an integer ordinal.
- setRegistrationRequired(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true, an exception is thrown when an unregistered class is encountered.
- setSerializer(Serializer) - Method in class com.esotericsoftware.kryo.Registration
-
- setSerializer(Serializer) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setTotal(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the number of bytes read.
- setValueClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setValuesCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- shrink() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Reduces the size of the backing array to the size of the actual items.
- size - Variable in class com.esotericsoftware.kryo.util.IdentityMap
-
- size - Variable in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
- size - Variable in class com.esotericsoftware.kryo.util.IntArray
-
- size - Variable in class com.esotericsoftware.kryo.util.IntMap
-
- size - Variable in class com.esotericsoftware.kryo.util.ObjectMap
-
- skip(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Discards the specified number of bytes.
- skip(long) - Method in class com.esotericsoftware.kryo.io.Input
-
Discards the specified number of bytes.
- sort() - Method in class com.esotericsoftware.kryo.util.IntArray
-
- string(Object) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the object formatted as a string.
- swap(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
-