A B C D E F G H I K L M N O P R S T U V W

A

addListener(Kryo.Listener) - Method in class com.esotericsoftware.kryo.Kryo
 
addTrace(String) - Method in exception com.esotericsoftware.kryo.SerializationException
Adds information to the exception message about where in the the object graph serialization failure occurred.
ArraySerializer - Class in com.esotericsoftware.kryo.serialize
Serializes arrays.
ArraySerializer(Kryo) - Constructor for class com.esotericsoftware.kryo.serialize.ArraySerializer
 

B

BeanSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes Java beans using bean accessor methods.
BeanSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serialize.BeanSerializer
 
BigDecimalSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes instances of BigDecimal.
BigDecimalSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.BigDecimalSerializer
 
BigIntegerSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes instances of BigInteger.
BigIntegerSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.BigIntegerSerializer
 
BlowfishCompressor - Class in com.esotericsoftware.kryo.compress
Encrypts data using the blowfish cipher.
BlowfishCompressor(Serializer, byte[]) - Constructor for class com.esotericsoftware.kryo.compress.BlowfishCompressor
 
BlowfishCompressor(Serializer, byte[], int) - Constructor for class com.esotericsoftware.kryo.compress.BlowfishCompressor
 
BooleanSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1 byte boolean.
BooleanSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.BooleanSerializer
 
bufferSize - Variable in class com.esotericsoftware.kryo.Compressor
 
ByteArrayCompressor - Class in com.esotericsoftware.kryo.compress
Convenience class to compress and decompress using byte arrays.
ByteArrayCompressor(Serializer) - Constructor for class com.esotericsoftware.kryo.compress.ByteArrayCompressor
 
ByteArrayCompressor(Serializer, int) - Constructor for class com.esotericsoftware.kryo.compress.ByteArrayCompressor
 
ByteSerializer - Class in com.esotericsoftware.kryo.serialize
Writes 1 byte.
ByteSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.ByteSerializer
 

C

canRead(ByteBuffer, boolean) - Static method in class com.esotericsoftware.kryo.serialize.IntSerializer
Reads true if the buffer contains enough data to read an int that was written with IntSerializer.put(ByteBuffer, int, boolean).
causedBy(Class) - Method in exception com.esotericsoftware.kryo.SerializationException
Returns true if any of the exceptions that caused this exception are of the specified type.
CharSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 2 byte char.
CharSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.CharSerializer
 
ClassSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes class objects.
ClassSerializer(Kryo) - Constructor for class com.esotericsoftware.kryo.serialize.ClassSerializer
 
clear() - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
clear() - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
clear() - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
CollectionSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes objects that implement the Collection interface.
CollectionSerializer(Kryo) - Constructor for class com.esotericsoftware.kryo.serialize.CollectionSerializer
 
com.esotericsoftware.kryo - package com.esotericsoftware.kryo
 
com.esotericsoftware.kryo.compress - package com.esotericsoftware.kryo.compress
 
com.esotericsoftware.kryo.serialize - package com.esotericsoftware.kryo.serialize
 
com.esotericsoftware.kryo.util - package com.esotericsoftware.kryo.util
 
CompatibleFieldSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes objects using direct field assignment, with limited support for forward and backward compatibility.
CompatibleFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
 
CompatibleFieldSerializer.CachedField - Class in com.esotericsoftware.kryo.serialize
Controls how a field will be serialized.
CompatibleFieldSerializer.CachedField() - Constructor for class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer.CachedField
 
compress(ByteBuffer, Object, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.BlowfishCompressor
 
compress(ByteBuffer, Object, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.ByteArrayCompressor
 
compress(byte[], int, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.ByteArrayCompressor
Implementations should read the specified number of input bytes and write compressed data to the output buffer.
compress(byte[], int, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.DeflateCompressor
 
compress(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.Delta
 
compress(ByteBuffer, Object, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.DeltaCompressor
 
compress(byte[], int, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.StreamCompressor
 
compress(ByteBuffer, Object, ByteBuffer) - Method in class com.esotericsoftware.kryo.Compressor
The compressor should read the input buffer from the current position to the limit, compress the data, and put the result in the output buffer.
Compressor - Class in com.esotericsoftware.kryo
Wraps another serializer in order to modify the bytes after they are serialized and before they are deserialized.
Compressor(Serializer) - Constructor for class com.esotericsoftware.kryo.Compressor
Creates a compressor with compress and decompress set to true and bufferSize set to 2048.
Compressor(Serializer, int) - Constructor for class com.esotericsoftware.kryo.Compressor
 
containsKey(int) - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
containsKey(long) - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
containsKey(short) - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
containsValue(Object) - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
containsValue(int) - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
containsValue(Object) - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
Context - Class in com.esotericsoftware.kryo
Serves as thread local storage for serializers.
Context() - Constructor for class com.esotericsoftware.kryo.Context
 
CustomSerialization - Interface in com.esotericsoftware.kryo
Allows implementing classes to perform their own serialization.
CustomSerializer - Class in com.esotericsoftware.kryo.serialize
 
CustomSerializer(Kryo) - Constructor for class com.esotericsoftware.kryo.serialize.CustomSerializer
 

D

DateSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes instances of Date.
DateSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.DateSerializer
 
decompress(ByteBuffer, Class, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.BlowfishCompressor
 
decompress(ByteBuffer, Class, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.ByteArrayCompressor
 
decompress(byte[], int, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.ByteArrayCompressor
Implementations should read the specified number of input bytes and write decompressed data to the output bytes.
decompress(byte[], int, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.DeflateCompressor
 
decompress(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.Delta
 
decompress(ByteBuffer, Class, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.DeltaCompressor
 
decompress(byte[], int, ByteBuffer) - Method in class com.esotericsoftware.kryo.compress.StreamCompressor
 
decompress(ByteBuffer, Class, ByteBuffer) - Method in class com.esotericsoftware.kryo.Compressor
The compressor should read the input buffer from the current position to the limit, decompress the data, and put the result in the output buffer.
DefaultSerializer - Annotation Type in com.esotericsoftware.kryo
Sets the default serializer to use for the annotated class.
DeflateCompressor - Class in com.esotericsoftware.kryo.compress
Compresses and decompresses using the "deflate" algorithm.
DeflateCompressor(Serializer) - Constructor for class com.esotericsoftware.kryo.compress.DeflateCompressor
 
DeflateCompressor(Serializer, int) - Constructor for class com.esotericsoftware.kryo.compress.DeflateCompressor
 
Delta - Class in com.esotericsoftware.kryo.compress
Determines the delta to convert one ByteBuffer to another.
Delta() - Constructor for class com.esotericsoftware.kryo.compress.Delta
Creates a Delta with a buffer size of 2048 and chunk size of 8.
Delta(int, int) - Constructor for class com.esotericsoftware.kryo.compress.Delta
 
DeltaCompressor - Class in com.esotericsoftware.kryo.compress
Caches bytes for the last object serialized (per remote entitiy) and only emits deltas on subsequent serializations.
DeltaCompressor(Kryo, Serializer) - Constructor for class com.esotericsoftware.kryo.compress.DeltaCompressor
Creates a DeltaCompressor with a buffer size of 2048 and a chunk size of 8.
DeltaCompressor(Kryo, Serializer, int, int) - Constructor for class com.esotericsoftware.kryo.compress.DeltaCompressor
 
DoubleSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1-10 byte double.
DoubleSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.DoubleSerializer
Creates a DoubleSerializer that allows uses 8 bytes to represent a double, with no loss of precision.
DoubleSerializer(double, boolean) - Constructor for class com.esotericsoftware.kryo.serialize.DoubleSerializer
Creates a DoubleSerializer that allows uses 1-10 bytes to represent a double, with a loss of precision.

E

EnumSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1-3 byte enum.
EnumSerializer(Class<? extends Enum>) - Constructor for class com.esotericsoftware.kryo.serialize.EnumSerializer
 

F

FieldSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes objects using direct field assignment.
FieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serialize.FieldSerializer
 
FieldSerializer.CachedField - Class in com.esotericsoftware.kryo.serialize
Controls how a field will be serialized.
FieldSerializer.CachedField() - Constructor for class com.esotericsoftware.kryo.serialize.FieldSerializer.CachedField
 
FloatSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1-5 byte float.
FloatSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.FloatSerializer
Creates a FloatSerializer that allows uses 4 bytes to represent a float, with no loss of precision.
FloatSerializer(float, boolean) - Constructor for class com.esotericsoftware.kryo.serialize.FloatSerializer
Creates a FloatSerializer that allows uses 1-5 bytes to represent a float, with a loss of precision.

G

get(String) - Method in class com.esotericsoftware.kryo.Context
Returns an object from thread local storage, or null.
get(Serializer, String) - Method in class com.esotericsoftware.kryo.Context
Returns an object for a serializer instance from thread local storage, or null.
get(ByteBuffer, Class<T>) - Static method in class com.esotericsoftware.kryo.serialize.EnumSerializer
 
get(ByteBuffer, boolean) - Static method in class com.esotericsoftware.kryo.serialize.IntSerializer
Reads an int from the buffer that was written with IntSerializer.put(ByteBuffer, int, boolean).
get(ByteBuffer, boolean) - Static method in class com.esotericsoftware.kryo.serialize.LongSerializer
Reads a long from the buffer that was written with LongSerializer.put(ByteBuffer, long, boolean).
get(ByteBuffer, Class<T>) - Static method in class com.esotericsoftware.kryo.serialize.SerializableSerializer
 
get(ByteBuffer, boolean) - Static method in class com.esotericsoftware.kryo.serialize.ShortSerializer
Reads a short from the buffer that was written with ShortSerializer.put(ByteBuffer, short, boolean).
get(ByteBuffer) - Static method in class com.esotericsoftware.kryo.serialize.StringSerializer
 
get(int) - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
get(long) - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
get(short) - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
getBuffer(int) - Method in class com.esotericsoftware.kryo.Context
Returns a non-direct buffer of at least the specified size.
getBuffers(int, int) - Method in class com.esotericsoftware.kryo.Context
Returns a list containing at least the specified number of non-direct buffers, each at least the specified size.
getByteArray(int) - Method in class com.esotericsoftware.kryo.Context
Returns a byte array of at least the specified size.
getCharArray(int) - Method in class com.esotericsoftware.kryo.Context
Returns a char array of at least the specified size.
getClassLoader() - Method in class com.esotericsoftware.kryo.Kryo
 
getCompressionStream(OutputStream) - Method in class com.esotericsoftware.kryo.compress.StreamCompressor
 
getContext() - Static method in class com.esotericsoftware.kryo.Kryo
Returns the thread local context for serialization and deserialization.
getDecompressionStream(InputStream) - Method in class com.esotericsoftware.kryo.compress.StreamCompressor
 
getDimensionCount(Class) - Static method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
getDimensions(Object) - Static method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
getElementClass(Class) - Static method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
getField(String) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
Allows specific fields to be optimized.
getField(String) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
Allows specific fields to be optimized.
getID() - Method in class com.esotericsoftware.kryo.Kryo.RegisteredClass
 
getIntArray(int) - Method in class com.esotericsoftware.kryo.Context
Returns an int array of at least the specified size.
getMessage() - Method in exception com.esotericsoftware.kryo.SerializationException
 
getRegisteredClass(Class) - Method in class com.esotericsoftware.kryo.Kryo
Returns the registration information for the specified class.
getRegisteredClass(int) - Method in class com.esotericsoftware.kryo.Kryo
 
getRemoteEntityID() - Method in class com.esotericsoftware.kryo.Context
Returns an identifier for the entity that either sent the serialized data or will be receiving the serialized data.
getSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
 
getSerializer() - Method in class com.esotericsoftware.kryo.Kryo.RegisteredClass
 
getTemp(String) - Method in class com.esotericsoftware.kryo.Context
Returns a temporary object from thread local storage, or null.
getTemp(Serializer, String) - Method in class com.esotericsoftware.kryo.Context
Returns a temporary object for a serializer instance from thread local storage, or null.
getType() - Method in class com.esotericsoftware.kryo.Kryo.RegisteredClass
 
getUnsigned(ByteBuffer) - Static method in class com.esotericsoftware.kryo.serialize.ByteSerializer
Reads a non-negative byte from the buffer that was written with ByteSerializer.putUnsigned(ByteBuffer, int).

H

handleUnregisteredClass(Class) - Method in class com.esotericsoftware.kryo.Kryo
If optional registration is true, this method is called the first time an unregistered class is encountered.

I

IntHashMap<T> - Class in com.esotericsoftware.kryo.util
 
IntHashMap() - Constructor for class com.esotericsoftware.kryo.util.IntHashMap
 
IntHashMap(int) - Constructor for class com.esotericsoftware.kryo.util.IntHashMap
 
IntHashMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IntHashMap
 
IntSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1-5 byte integer.
IntSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.IntSerializer
 
IntSerializer(boolean) - Constructor for class com.esotericsoftware.kryo.serialize.IntSerializer
 
isAndroid - Static variable in class com.esotericsoftware.kryo.util.Util
 
isFinal(Class) - Static method in class com.esotericsoftware.kryo.Kryo
Returns true if the specified type is final, or if it is an array of a final type.
isFinal(Class) - Method in class com.esotericsoftware.kryo.Serializer
Returns true if the specified type is final, or if it is an array of a final type.

K

Kryo - Class in com.esotericsoftware.kryo
Maps classes to serializers so object graphs can be serialized automatically.
Kryo() - Constructor for class com.esotericsoftware.kryo.Kryo
 
Kryo.Listener - Interface in com.esotericsoftware.kryo
Provides notification of Kryo events.
Kryo.RegisteredClass - Class in com.esotericsoftware.kryo
Holds the registration information for a class.

L

length(int, boolean) - Static method in class com.esotericsoftware.kryo.serialize.IntSerializer
Reads true if the buffer contains enough data to read an int that was written with IntSerializer.put(ByteBuffer, int, boolean).
LongSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1-10 byte long.
LongSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.LongSerializer
 
LongSerializer(boolean) - Constructor for class com.esotericsoftware.kryo.serialize.LongSerializer
 
LongToIntHashMap - Class in com.esotericsoftware.kryo.util
 
LongToIntHashMap() - Constructor for class com.esotericsoftware.kryo.util.LongToIntHashMap
 
LongToIntHashMap(int) - Constructor for class com.esotericsoftware.kryo.util.LongToIntHashMap
 
LongToIntHashMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.LongToIntHashMap
 

M

MapSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes objects that implement the Map interface.
MapSerializer(Kryo) - Constructor for class com.esotericsoftware.kryo.serialize.MapSerializer
 

N

newDefaultSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
Called by Kryo.newSerializer(Class) when a serializer could not otherwise be determined.
newInstance(Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
Returns an instance of the specified class.
newInstance(Kryo, Class<T>) - Method in class com.esotericsoftware.kryo.Serializer
Returns an instance of the specified class.
newSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
Returns a serializer for the specified type, determined according to this table:
NotNull - Annotation Type in com.esotericsoftware.kryo
Indicates a field can never be null when it is being serialized and deserialized.

O

ObjectBuffer - Class in com.esotericsoftware.kryo
Serializes objects to and from byte arrays and streams.

This class uses a buffer internally and is not thread safe.
ObjectBuffer(Kryo) - Constructor for class com.esotericsoftware.kryo.ObjectBuffer
Creates an ObjectStream with an initial buffer size of 2KB and a maximum size of 16KB.
ObjectBuffer(Kryo, int) - Constructor for class com.esotericsoftware.kryo.ObjectBuffer
 
ObjectBuffer(Kryo, int, int) - Constructor for class com.esotericsoftware.kryo.ObjectBuffer
 
Optional - Annotation Type in com.esotericsoftware.kryo
Indicates a field should be ignored when its declaring class is registered unless the context has a value set for specified key.

P

put(String, Object) - Method in class com.esotericsoftware.kryo.Context
Stores an object in thread local storage.
put(Serializer, String, Object) - Method in class com.esotericsoftware.kryo.Context
Stores an object for a serializer instance in thread local storage.
put(ByteBuffer, Enum) - Static method in class com.esotericsoftware.kryo.serialize.EnumSerializer
 
put(ByteBuffer, int, boolean) - Static method in class com.esotericsoftware.kryo.serialize.IntSerializer
Writes the specified int to the buffer using 1 to 5 bytes, depending on the size of the number.
put(ByteBuffer, long, boolean) - Static method in class com.esotericsoftware.kryo.serialize.LongSerializer
Writes the specified long to the buffer using 1 to 10 bytes, depending on the size of the number.
put(ByteBuffer, Object) - Static method in class com.esotericsoftware.kryo.serialize.SerializableSerializer
 
put(ByteBuffer, short, boolean) - Static method in class com.esotericsoftware.kryo.serialize.ShortSerializer
Writes the specified short to the buffer as a byte or short depending on the size of the number.
put(ByteBuffer, String) - Static method in class com.esotericsoftware.kryo.serialize.StringSerializer
 
put(int, T) - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
put(long, int) - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
put(short, T) - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
putTemp(String, Object) - Method in class com.esotericsoftware.kryo.Context
Stores a temporary object in thread local storage.
putTemp(Serializer, String, Object) - Method in class com.esotericsoftware.kryo.Context
Stores a temporary object for a serializer instance in thread local storage.
putUnsigned(ByteBuffer, int) - Static method in class com.esotericsoftware.kryo.serialize.ByteSerializer
Writes the specified non-negative int to the buffer, cast as a byte.

R

read(ByteBuffer) - Method in class com.esotericsoftware.kryo.serialize.ClassSerializer
 
read(ByteBuffer) - Method in class com.esotericsoftware.kryo.serialize.SimpleSerializer
Convenience method that can be used for cleanliness when the extra parameters provided by SimpleSerializer.readObjectData(ByteBuffer, Class) are not needed.
readClass(ByteBuffer) - Method in class com.esotericsoftware.kryo.Kryo
Reads the class from the buffer.
readClassAndObject(ByteBuffer) - Method in class com.esotericsoftware.kryo.Kryo
Reads a class from the buffer and uses the serializer registered for that class to read an object from the buffer.
readClassAndObject(InputStream) - Method in class com.esotericsoftware.kryo.ObjectBuffer
Reads to the end of the stream and returns the deserialized object.
readClassAndObject(InputStream, int) - Method in class com.esotericsoftware.kryo.ObjectBuffer
Reads the specified number of bytes and returns the deserialized object.
readClassAndObject(byte[]) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
readObject(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
Uses the serializer registered for the specified class to read an object from the buffer.
readObject(InputStream, Class<T>) - Method in class com.esotericsoftware.kryo.ObjectBuffer
Reads to the end of the stream and returns the deserialized object.
readObject(InputStream, int, Class<T>) - Method in class com.esotericsoftware.kryo.ObjectBuffer
Reads the specified number of bytes and returns the deserialized object.
readObject(byte[], Class<T>) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
readObject(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.Serializer
Reads an object from the buffer.
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.Compressor
 
readObjectData(Kryo, ByteBuffer) - Method in interface com.esotericsoftware.kryo.CustomSerialization
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
Uses the serializer registered for the specified class to read an object from the buffer.
readObjectData(InputStream, Class<T>) - Method in class com.esotericsoftware.kryo.ObjectBuffer
Reads to the end of the stream and returns the deserialized object.
readObjectData(InputStream, int, Class<T>) - Method in class com.esotericsoftware.kryo.ObjectBuffer
Reads the specified number of bytes and returns the deserialized object.
readObjectData(byte[], Class<T>) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.BeanSerializer
 
readObjectData(T, ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.BeanSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.BigDecimalSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.BigIntegerSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.BooleanSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.ByteSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.CharSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.CollectionSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
 
readObjectData(T, ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.CustomSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.DateSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.DoubleSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.EnumSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
 
readObjectData(T, ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.FloatSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.IntSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.LongSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.ReferenceFieldSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.serialize.SerializableSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.ShortSerializer
 
readObjectData(ByteBuffer, Class<E>) - Method in class com.esotericsoftware.kryo.serialize.SimpleSerializer
 
readObjectData(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.StringSerializer
 
readObjectData(ByteBuffer, Class<T>) - Method in class com.esotericsoftware.kryo.Serializer
Reads an object from the buffer.
ReferenceFieldSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes objects using direct field assignment, handling object references and cyclic graphs.
ReferenceFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serialize.ReferenceFieldSerializer
 
register(Class, Serializer, boolean) - Method in class com.esotericsoftware.kryo.Kryo
Registers a class for serialization.
register(Class, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
Registers a class with an ordinal.
register(Class) - Method in class com.esotericsoftware.kryo.Kryo
Registers a class with an ordinal, automatically determining the serializer to use.
register(Class, Kryo.RegisteredClass) - Method in class com.esotericsoftware.kryo.Kryo
Registers a class with the ordinal of the specified registered class.
remoteEntityRemoved(int) - Method in interface com.esotericsoftware.kryo.Kryo.Listener
Called when a remote entity is no longer available.
remove(int) - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
remove(long) - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
remove(short) - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
removeField(String) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
Removes a field so that it won't be serialized.
removeField(String) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
Removes a field so that it won't be serialized.
removeListener(Kryo.Listener) - Method in class com.esotericsoftware.kryo.Kryo
 
removeRemoteEntity(int) - Method in class com.esotericsoftware.kryo.Kryo
Notifies all listeners that the remote entity with the specified ID will no longer be available.
reset() - Method in class com.esotericsoftware.kryo.Context
Clears temporary values that are only needed for serialization or deserialization per object graph.

S

SerializableSerializer - Class in com.esotericsoftware.kryo.serialize
Serializes objects using Java's built in serialization mechanism.
SerializableSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.SerializableSerializer
 
SerializationException - Exception in com.esotericsoftware.kryo
Indicates an error during serialization due to misconfiguration or during deserialization due to invalid input data.
SerializationException() - Constructor for exception com.esotericsoftware.kryo.SerializationException
 
SerializationException(String, Throwable) - Constructor for exception com.esotericsoftware.kryo.SerializationException
 
SerializationException(String) - Constructor for exception com.esotericsoftware.kryo.SerializationException
 
SerializationException(Throwable) - Constructor for exception com.esotericsoftware.kryo.SerializationException
 
Serializer - Class in com.esotericsoftware.kryo
Serializes objects to and from a ByteBuffer.
Serializer() - Constructor for class com.esotericsoftware.kryo.Serializer
 
setCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer.CachedField
 
setCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer.CachedField
 
setCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.Serializer
When true, a byte will not be used to denote if the object is null.
setClass(Class) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer.CachedField
 
setClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer.CachedField
 
setClass(Class) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer.CachedField
 
setClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer.CachedField
 
setClassLoader(ClassLoader) - Method in class com.esotericsoftware.kryo.Kryo
Sets the class loader used to resolve class names when class name Strings are encountered in the serialized bytes.
setCompress(boolean) - Method in class com.esotericsoftware.kryo.Compressor
Sets whether the compressor will compress data after serialization.
setDecompress(boolean) - Method in class com.esotericsoftware.kryo.Compressor
Sets whether the compressor will decompress data before serialization.
setDimensionCount(Integer) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
setElementClass(Class) - Method in class com.esotericsoftware.kryo.serialize.CollectionSerializer
 
setElementClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serialize.CollectionSerializer
 
setElementsAreSameType(boolean) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
setElementsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
setElementsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.CollectionSerializer
 
setFieldsAsAccessible(boolean) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
Controls which fields are accessed.
setFieldsAsAccessible(boolean) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
Controls which fields are serialized.
setFieldsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
Sets the default value for CompatibleFieldSerializer.CachedField.setCanBeNull(boolean).
setFieldsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
Sets the default value for FieldSerializer.CachedField.setCanBeNull(boolean).
setIgnoreSyntheticFields(boolean) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
Controls if synthetic fields are serialized.
setKeyClass(Class) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
setKeyClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
setKeysCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
setKryo(Kryo) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
setLength(int) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
Identical to calling ArraySerializer.setLengths(int[]) with: new int[] {length}
setLength(int) - Method in class com.esotericsoftware.kryo.serialize.CollectionSerializer
Sets the number of objects in the collection.
setLengths(int[]) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
Sets both the number of dimensions and the lengths of each.
setRegistrationOptional(boolean) - Method in class com.esotericsoftware.kryo.Kryo
When true, classes that have not been registered will not throw an exception.
setRemoteEntityID(int) - Method in class com.esotericsoftware.kryo.Context
Sets the remote entity ID.
setSerializer(Serializer) - Method in class com.esotericsoftware.kryo.Kryo.RegisteredClass
 
setSerializer(Class, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
 
setValueClass(Class) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
setValueClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
setValuesCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
ShortHashMap<T> - Class in com.esotericsoftware.kryo.util
 
ShortHashMap() - Constructor for class com.esotericsoftware.kryo.util.ShortHashMap
 
ShortHashMap(int) - Constructor for class com.esotericsoftware.kryo.util.ShortHashMap
 
ShortHashMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.ShortHashMap
 
ShortSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a 1-3 byte short.
ShortSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.ShortSerializer
 
ShortSerializer(Boolean) - Constructor for class com.esotericsoftware.kryo.serialize.ShortSerializer
 
SimpleSerializer<T> - Class in com.esotericsoftware.kryo.serialize
Convenience class that provides simpler methods for reading and writing object data.
SimpleSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.SimpleSerializer
 
size() - Method in class com.esotericsoftware.kryo.util.IntHashMap
 
size() - Method in class com.esotericsoftware.kryo.util.LongToIntHashMap
 
size() - Method in class com.esotericsoftware.kryo.util.ShortHashMap
 
StreamCompressor - Class in com.esotericsoftware.kryo.compress
Convenience class to compress and decompress using streams.
StreamCompressor(Serializer) - Constructor for class com.esotericsoftware.kryo.compress.StreamCompressor
 
StreamCompressor(Serializer, int) - Constructor for class com.esotericsoftware.kryo.compress.StreamCompressor
 
StringSerializer - Class in com.esotericsoftware.kryo.serialize
Writes a String as UTF-8 bytes.
StringSerializer() - Constructor for class com.esotericsoftware.kryo.serialize.StringSerializer
 

T

toString() - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer.CachedField
 
toString() - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer.CachedField
 

U

Util - Class in com.esotericsoftware.kryo.util
 
Util() - Constructor for class com.esotericsoftware.kryo.util.Util
 

V

version - Static variable in class com.esotericsoftware.kryo.Kryo
 

W

write(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.serialize.ClassSerializer
 
write(ByteBuffer, T) - Method in class com.esotericsoftware.kryo.serialize.SimpleSerializer
Convenience method that can be used for cleanliness when the extra parameters provided by SimpleSerializer.writeObjectData(ByteBuffer, Object) are not needed.
writeClass(ByteBuffer, Class) - Method in class com.esotericsoftware.kryo.Kryo
Writes the specified class to the buffer.
writeClassAndObject(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.Kryo
Writes the object's class to the buffer, then uses the serializer registered for that class to write the object to the buffer.
writeClassAndObject(OutputStream, Object) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
writeClassAndObject(Object) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
writeObject(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.Kryo
Uses the serializer registered for the object's class to write the object to the buffer.
writeObject(OutputStream, Object) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
writeObject(Object) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
writeObject(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.Serializer
Writes the object to the buffer.
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.Compressor
 
writeObjectData(Kryo, ByteBuffer) - Method in interface com.esotericsoftware.kryo.CustomSerialization
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.Kryo
Uses the serializer registered for the object's class to write the object to the buffer.
writeObjectData(OutputStream, Object) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
writeObjectData(Object) - Method in class com.esotericsoftware.kryo.ObjectBuffer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.ArraySerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.BeanSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.BigDecimalSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.BigIntegerSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.BooleanSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.ByteSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.CharSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.CollectionSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.CompatibleFieldSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.CustomSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.DateSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.DoubleSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.EnumSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.FieldSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.FloatSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.IntSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.LongSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.MapSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.ReferenceFieldSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.SerializableSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.ShortSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.SimpleSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.serialize.StringSerializer
 
writeObjectData(ByteBuffer, Object) - Method in class com.esotericsoftware.kryo.Serializer
Writes the object to the buffer.

A B C D E F G H I K L M N O P R S T U V W

Copyright © 2011. All Rights Reserved.