A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- addAll(int[]) - Method in class com.esotericsoftware.kryo.util.IntArray
- addAll(int[], int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- addAll(IntArray) - Method in class com.esotericsoftware.kryo.util.IntArray
- addAll(IntArray, int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- addDefaultSerializer(Class, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Instances of the specified class will use the specified serializer.
- addDefaultSerializer(Class, Class<? extends Serializer>) - Method in class com.esotericsoftware.kryo.Kryo
-
Instances of the specified class will use the specified serializer.
- addReadObject(int, Object) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Adds an object that has been read for the first time.
- addReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- addReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- addTrace(String) - Method in exception com.esotericsoftware.kryo.KryoException
-
Adds information to the exception message about where in the the object graph serialization failure occurred.
- addWrittenObject(Object) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns a new ID for an object that is being written for the first time.
- addWrittenObject(Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- addWrittenObject(Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- available() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
B
- BeanSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes Java beans using bean accessor methods.
- BeanSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.BeanSerializer
- BigDecimalSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigDecimalSerializer
- BigIntegerSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigIntegerSerializer
- BlowfishSerializer - Class in com.esotericsoftware.kryo.serializers
-
Encrypts data using the blowfish cipher.
- BlowfishSerializer(Serializer, byte[]) - Constructor for class com.esotericsoftware.kryo.serializers.BlowfishSerializer
- BooleanArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
- BooleanSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.BooleanSerializer
- ByteArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
- ByteBufferInputStream - Class in com.esotericsoftware.kryo.io
-
An InputStream whose source is a
ByteBuffer
. - ByteBufferInputStream() - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInputStream
- ByteBufferInputStream(int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
Creates a stream with a new non-direct buffer of the specified size.
- ByteBufferInputStream(ByteBuffer) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
Creates an uninitialized stream that cannot be used until
ByteBufferInputStream.setByteBuffer(ByteBuffer)
is called. - ByteBufferOutputStream - Class in com.esotericsoftware.kryo.io
-
An OutputStream whose target is a
ByteBuffer
. - ByteBufferOutputStream() - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutputStream
-
Creates an uninitialized stream that cannot be used until
ByteBufferOutputStream.setByteBuffer(ByteBuffer)
is called. - ByteBufferOutputStream(int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutputStream
-
Creates a stream with a new non-direct buffer of the specified size.
- ByteBufferOutputStream(ByteBuffer) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- ByteSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.ByteSerializer
C
- CachedField() - Constructor for class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- CalendarSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- canReadInt() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns true if enough bytes are available to read an int with
Input.readInt(boolean)
. - canReadLong() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns true if enough bytes are available to read a long with
Input.readLong(boolean)
. - CharArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
- CharSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharSerializer
- className(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the class formatted as a string.
- ClassResolver - Interface in com.esotericsoftware.kryo
-
Handles class registration, writing class identifiers to bytes, and reading class identifiers from bytes.
- ClassSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.ClassSerializer
- classToNameId - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- classToRegistration - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- clear() - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the position and total to zero.
- clear() - Method in class com.esotericsoftware.kryo.util.IdentityMap
- clear() - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- clear() - Method in class com.esotericsoftware.kryo.util.IntArray
- clear() - Method in class com.esotericsoftware.kryo.util.IntMap
- clear() - Method in class com.esotericsoftware.kryo.util.ObjectMap
- close() - Method in class com.esotericsoftware.kryo.io.Input
-
Closes the underlying InputStream, if any.
- close() - Method in class com.esotericsoftware.kryo.io.Output
-
Flushes any buffered bytes and closes the underlying OutputStream, if any.
- CollectionsEmptyListSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyListSerializer
- CollectionsEmptyMapSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyMapSerializer
- CollectionsEmptySetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptySetSerializer
- CollectionSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects that implement the
Collection
interface. - CollectionSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
- CollectionSerializer(Class, Serializer) - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
- CollectionSerializer(Class, Serializer, boolean) - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
- CollectionsSingletonListSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonListSerializer
- CollectionsSingletonMapSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
- CollectionsSingletonSetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonSetSerializer
- com.esotericsoftware.kryo - package com.esotericsoftware.kryo
- com.esotericsoftware.kryo.io - package com.esotericsoftware.kryo.io
- com.esotericsoftware.kryo.serializers - package com.esotericsoftware.kryo.serializers
- com.esotericsoftware.kryo.util - package com.esotericsoftware.kryo.util
- compare(FieldSerializer.CachedField, FieldSerializer.CachedField) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- CompatibleFieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment, with limited support for forward and backward compatibility.
- CompatibleFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- contains(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- containsKey(int) - Method in class com.esotericsoftware.kryo.util.IntMap
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- containsValue(int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Returns true if the specified value is in the map.
- containsValue(Object, boolean) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Returns true if the specified value is in the map.
- containsValue(Object, boolean) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns true if the specified value is in the map.
- containsValue(Object, boolean) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns true if the specified value is in the map.
- copy(Kryo) - Method in interface com.esotericsoftware.kryo.KryoCopyable
-
Returns a copy that has the same values as this object.
- copy(Kryo, boolean[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
- copy(Kryo, byte[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
- copy(Kryo, char[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
- copy(Kryo, double[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
- copy(Kryo, float[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.FloatArraySerializer
- copy(Kryo, int[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
- copy(Kryo, long[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
- copy(Kryo, short[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
- copy(Kryo, Object) - Method in class com.esotericsoftware.kryo.serializers.BlowfishSerializer
- copy(Kryo, Object) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
- copy(Kryo, Object[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
- copy(Kryo, String[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
- copy(Kryo, StringBuffer) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
- copy(Kryo, StringBuilder) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
- copy(Kryo, Calendar) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- copy(Kryo, Collection) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
- copy(Kryo, Date) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DateSerializer
- copy(Kryo, EnumSet) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
- copy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- copy(Kryo, T) - Method in class com.esotericsoftware.kryo.Serializer
-
Returns a copy of the specified object.
- copy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.BeanSerializer
- copy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- copy(Object, Object) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- copy(T) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a deep copy of the object.
- copy(T, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a deep copy of the object using the specified serializer.
- copyShallow(T) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a shallow copy of the object.
- copyShallow(T, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a shallow copy of the object using the specified serializer.
- create(Kryo, Input, Class<Collection>) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
Used by
CollectionSerializer.read(Kryo, Input, Class)
to create the new object. - create(Kryo, Input, Class<Map>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- create(Kryo, Input, Class<Map>) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
Used by
MapSerializer.read(Kryo, Input, Class)
to create the new object. - create(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Used by
FieldSerializer.read(Kryo, Input, Class)
to create the new object. - createCopy(Kryo, Collection) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
Used by
CollectionSerializer.copy(Kryo, Collection)
to create the new object. - createCopy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- createCopy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- createCopy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Used by
FieldSerializer.copy(Kryo, Object)
to create the new object. - CurrencySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CurrencySerializer
D
- DateSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.DateSerializer
- DefaultArraySerializers - Class in com.esotericsoftware.kryo.serializers
-
Contains many serializer classes for specific array types that are provided by
default
. - DefaultArraySerializers() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers
- DefaultArraySerializers.BooleanArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.ByteArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.CharArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.DoubleArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.FloatArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.IntArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.LongArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.ObjectArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.ShortArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultArraySerializers.StringArraySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultClassResolver - Class in com.esotericsoftware.kryo.util
-
Resolves classes by ID or by fully qualified class name.
- DefaultClassResolver() - Constructor for class com.esotericsoftware.kryo.util.DefaultClassResolver
- DefaultSerializer - Annotation Type in com.esotericsoftware.kryo
-
Sets the default serializer to use for the annotated class.
- DefaultSerializers - Class in com.esotericsoftware.kryo.serializers
-
Contains many serializer classes that are provided by
default
. - DefaultSerializers() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers
- DefaultSerializers.BigDecimalSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.BigIntegerSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.BooleanSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.ByteSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.CalendarSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
GregorianCalendar
, java.util.JapaneseImperialCalendar, and sun.util.BuddhistCalendar. - DefaultSerializers.CharSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.ClassSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.CollectionsEmptyListSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for lists created via
Collections.emptyList()
or that were just assigned theCollections.EMPTY_LIST
. - DefaultSerializers.CollectionsEmptyMapSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for maps created via
Collections.emptyMap()
or that were just assigned theCollections.EMPTY_MAP
. - DefaultSerializers.CollectionsEmptySetSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for sets created via
Collections.emptySet()
or that were just assigned theCollections.EMPTY_SET
. - DefaultSerializers.CollectionsSingletonListSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for lists created via
Collections.singletonList(Object)
. - DefaultSerializers.CollectionsSingletonMapSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for maps created via
Collections.singletonMap(Object, Object)
. - DefaultSerializers.CollectionsSingletonSetSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for sets created via
Collections.singleton(Object)
. - DefaultSerializers.CurrencySerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.DateSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.DoubleSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.EnumSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.EnumSetSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.FloatSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.IntSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.KryoSerializableSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.LongSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.ShortSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.StringBufferSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.StringBuilderSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.StringSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.TimeZoneSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
TimeZone
. - DefaultSerializers.TreeMapSerializer - Class in com.esotericsoftware.kryo.serializers
- DeflateSerializer - Class in com.esotericsoftware.kryo.serializers
- DeflateSerializer(Serializer) - Constructor for class com.esotericsoftware.kryo.serializers.DeflateSerializer
- DoubleArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
- DoubleSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.DoubleSerializer
E
- endChunks() - Method in class com.esotericsoftware.kryo.io.OutputChunked
-
Marks the end of some data that may have been written by any number of chunks.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Increases the size of the backing array to acommodate the specified number of additional items.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Increases the size of the backing array to acommodate the specified number of additional items.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Increases the size of the backing array to acommodate the specified number of additional items.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Increases the size of the backing array to acommodate the specified number of additional items.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Increases the size of the backing array to acommodate the specified number of additional items.
- entries() - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Returns an iterator for the entries in the map.
- entries() - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns an iterator for the entries in the map.
- Entries(IdentityMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Entries
- Entries(ObjectMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Entries
- entry - Variable in class com.esotericsoftware.kryo.util.ObjectMap.Entries
- Entry() - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Entry
- Entry() - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Entry
- EnumSerializer(Class<? extends Enum>) - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSerializer
- EnumSetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
F
- FieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment.
- FieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.FieldSerializer
- FieldSerializer.CachedField<X> - Class in com.esotericsoftware.kryo.serializers
-
Controls how a field will be serialized.
- FieldSerializer.Optional - Annotation Type in com.esotericsoftware.kryo.serializers
-
Indicates a field should be ignored when its declaring class is registered unless the
context
has a value set for the specified key. - fill(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Fills the buffer with more bytes.
- fill(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.InputChunked
- findKey(int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Returns the key for the specified value, or null if it is not in the map.
- findKey(Object, boolean) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Returns the key for the specified value, or null if it is not in the map.
- findKey(Object, boolean) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns the key for the specified value, or null if it is not in the map.
- findKey(Object, boolean, int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns the key for the specified value, or notFound if it is not in the map.
- FloatArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.FloatArraySerializer
- FloatSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.FloatSerializer
- flush() - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the buffered bytes to the underlying OutputStream, if any.
- flush() - Method in class com.esotericsoftware.kryo.io.OutputChunked
G
- get(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- get(int) - Method in class com.esotericsoftware.kryo.util.IntMap
- get(int, V) - Method in class com.esotericsoftware.kryo.util.IntMap
- get(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
- get(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- get(K, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- get(K, V) - Method in class com.esotericsoftware.kryo.util.IdentityMap
- getAcceptsNull() - Method in class com.esotericsoftware.kryo.Serializer
- getAndIncrement(K, int, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Returns the key's current value and increments the stored value.
- getBuffer() - Method in class com.esotericsoftware.kryo.io.Input
- getBuffer() - Method in class com.esotericsoftware.kryo.io.Output
-
Returns the buffer.
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- getClassLoader() - Method in class com.esotericsoftware.kryo.Kryo
- getClassResolver() - Method in class com.esotericsoftware.kryo.Kryo
- getContext() - Method in class com.esotericsoftware.kryo.Kryo
-
Name/value pairs that are available to all serializers.
- getDefaultSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the best matching serializer for a class.
- getDepth() - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the number of child objects away from the object graph root.
- getDimensionCount(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the number of dimensions of an array.
- getElementClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the base element type of an n-dimensional array class.
- getField() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getField(String) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Allows specific fields to be optimized.
- getFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- getGenerics(Type) - Static method in class com.esotericsoftware.kryo.Kryo
-
Returns the first level of classes or interfaces for a generic type.
- getGraphContext() - Method in class com.esotericsoftware.kryo.Kryo
-
Name/value pairs that are available to all serializers and are cleared after each object graph is serialized or deserialized.
- getId() - Method in class com.esotericsoftware.kryo.Registration
-
Returns the registered class ID.
- getInputStream() - Method in class com.esotericsoftware.kryo.io.Input
- getInstantiator() - Method in class com.esotericsoftware.kryo.Registration
- getMessage() - Method in exception com.esotericsoftware.kryo.KryoException
- getNextRegistrationId() - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the lowest, next available integer ID.
- getOutputStream() - Method in class com.esotericsoftware.kryo.io.Output
- getReadObject(Class, int) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns the object for the specified ID.
- getReadObject(Class, int) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- getReadObject(Class, int) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- getReferenceResolver() - Method in class com.esotericsoftware.kryo.Kryo
- getReferences() - Method in class com.esotericsoftware.kryo.Kryo
- getRegistration(int) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Returns the registration for the specified ID, or null if no class is registered with that ID.
- getRegistration(int) - Method in class com.esotericsoftware.kryo.Kryo
- getRegistration(int) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- getRegistration(Class) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Returns the registration for the specified class, or null if the class is not registered.
- getRegistration(Class) - Method in class com.esotericsoftware.kryo.Kryo
- getRegistration(Class) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
If the class is not registered and
Kryo.setRegistrationRequired(boolean)
is false, it is automatically registered using thedefault serializer
. - getSerializer() - Method in class com.esotericsoftware.kryo.Registration
- getSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the serializer for the registration for the specified class.
- getType() - Method in class com.esotericsoftware.kryo.Registration
- getType() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- getWrapperClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the primitive wrapper class for a primitive class.
- getWrittenId(Object) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns an ID for the object if it has been written previously, otherwise returns -1.
- getWrittenId(Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- getWrittenId(Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
H
- hasNext() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Entries
- hasNext() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Keys
- hasNext() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Values
- hasNext() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Entries
- hasNext() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
- hasNext() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
I
- IdentityMap<K,V> - Class in com.esotericsoftware.kryo.util
-
An unordered map that uses identity comparison for keys.
- IdentityMap() - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- IdentityMap(int) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with a load factor of 0.8.
- IdentityMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with the specified initial capacity and load factor.
- IdentityMap.Entries<K,V> - Class in com.esotericsoftware.kryo.util
- IdentityMap.Entry<K,V> - Class in com.esotericsoftware.kryo.util
- IdentityMap.Keys<K> - Class in com.esotericsoftware.kryo.util
- IdentityMap.Values<V> - Class in com.esotericsoftware.kryo.util
- IdentityObjectIntMap<K> - Class in com.esotericsoftware.kryo.util
-
An unordered map where identity comparison is used for keys and the values are ints.
- IdentityObjectIntMap() - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- IdentityObjectIntMap(int) - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with a load factor of 0.8.
- IdentityObjectIntMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with the specified initial capacity and load factor.
- idToRegistration - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- indexOf(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- Input - Class in com.esotericsoftware.kryo.io
-
An InputStream that reads data from a byte array and optionally fills the byte array from another OutputStream as needed.
- Input() - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates an uninitialized Input.
- Input(byte[]) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte array.
- Input(byte[], int, int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte array.
- Input(int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte array.
- Input(InputStream) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from an InputStream with a buffer size of 4096.
- Input(InputStream, int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from an InputStream.
- InputChunked - Class in com.esotericsoftware.kryo.io
-
An InputStream that reads lengths and chunks of data from another OutputStream, allowing chunks to be skipped.
- InputChunked() - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
Creates an uninitialized InputChunked with a buffer size of 2048.
- InputChunked(int) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
Creates an uninitialized InputChunked.
- InputChunked(InputStream) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
Creates an InputChunked with a buffer size of 2048.
- InputChunked(InputStream, int) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
- insert(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- IntArray - Class in com.esotericsoftware.kryo.util
-
A resizable, ordered or unordered int array.
- IntArray() - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates an ordered array with a capacity of 16.
- IntArray(boolean, int) - Constructor for class com.esotericsoftware.kryo.util.IntArray
- IntArray(boolean, int[]) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates a new array containing the elements in the specified array.
- IntArray(int) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates an ordered array with the specified capacity.
- IntArray(int[]) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates a new ordered array containing the elements in the specified array.
- IntArray(IntArray) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates a new array containing the elements in the specific array.
- IntArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
- intLength(int, boolean) - Static method in class com.esotericsoftware.kryo.io.Output
-
Returns the number of bytes that would be written with
Output.writeInt(int, boolean)
. - IntMap<V> - Class in com.esotericsoftware.kryo.util
-
An unordered map that uses int keys.
- IntMap() - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- IntMap(int) - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with a load factor of 0.8.
- IntMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with the specified initial capacity and load factor.
- IntSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.IntSerializer
- isAndroid - Static variable in class com.esotericsoftware.kryo.util.Util
- isFinal(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns true if the specified type is final.
- isImmutable() - Method in class com.esotericsoftware.kryo.Serializer
- isRegistrationRequired() - Method in class com.esotericsoftware.kryo.Kryo
- isWrapperClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
- items - Variable in class com.esotericsoftware.kryo.util.IntArray
- iterator() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Entries
- iterator() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Keys
- iterator() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Values
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Entries
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
J
- JavaSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using Java's built in serialization mechanism.
- JavaSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.JavaSerializer
K
- key - Variable in class com.esotericsoftware.kryo.util.IdentityMap.Entry
- key - Variable in class com.esotericsoftware.kryo.util.ObjectMap.Entry
- keys() - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Returns an iterator for the keys in the map.
- keys() - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns an iterator for the keys in the map.
- Keys(IdentityMap<K, ?>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Keys
- Keys(ObjectMap<K, ?>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Keys
- kryo - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- kryo - Variable in class com.esotericsoftware.kryo.util.ListReferenceResolver
- kryo - Variable in class com.esotericsoftware.kryo.util.MapReferenceResolver
- 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
-
Creates a new Kryo with a
DefaultClassResolver
and aMapReferenceResolver
. - Kryo(ClassResolver, ReferenceResolver) - Constructor for class com.esotericsoftware.kryo.Kryo
- Kryo(ReferenceResolver) - Constructor for class com.esotericsoftware.kryo.Kryo
-
Creates a new Kryo with a
DefaultClassResolver
. - KryoCopyable<T> - Interface in com.esotericsoftware.kryo
-
Allows implementing classes to perform their own copying.
- KryoException - Exception in com.esotericsoftware.kryo
-
General Kryo RuntimeException.
- KryoException() - Constructor for exception com.esotericsoftware.kryo.KryoException
- KryoException(String) - Constructor for exception com.esotericsoftware.kryo.KryoException
- KryoException(String, Throwable) - Constructor for exception com.esotericsoftware.kryo.KryoException
- KryoException(Throwable) - Constructor for exception com.esotericsoftware.kryo.KryoException
- KryoSerializable - Interface in com.esotericsoftware.kryo
-
Allows implementing classes to perform their own serialization.
- KryoSerializableSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.KryoSerializableSerializer
L
- limit() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns the limit for the buffer.
- ListReferenceResolver - Class in com.esotericsoftware.kryo.util
-
Uses an
ArrayList
to track objects that have already been written. - ListReferenceResolver() - Constructor for class com.esotericsoftware.kryo.util.ListReferenceResolver
- log(String, Object) - Static method in class com.esotericsoftware.kryo.util.Util
-
Logs a message about an object.
- LongArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
- longLength(long, boolean) - Static method in class com.esotericsoftware.kryo.io.Output
-
Returns the number of bytes that would be written with
Output.writeLong(long, boolean)
. - LongSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.LongSerializer
M
- MapReferenceResolver - Class in com.esotericsoftware.kryo.util
-
Uses an
IdentityObjectIntMap
to track objects that have already been written. - MapReferenceResolver() - Constructor for class com.esotericsoftware.kryo.util.MapReferenceResolver
- MapSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects that implement the
Map
interface. - MapSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.MapSerializer
N
- NAME - Static variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- nameIdToClass - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- nameToClass - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- newDefaultSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Called by
Kryo.getDefaultSerializer(Class)
when no default serializers matched the type. - newInstance(Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
-
Creates a new instance of a class using
Registration.getInstantiator()
. - newInstantiator(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a new instantiator for creating new instances of the specified type.
- newSerializer(Class<? extends Serializer>, Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Creates a new instance of the specified serializer for serializing the specified class.
- next() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Entries
-
Note the same entry instance is returned each time this method is called.
- next() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Keys
- next() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Values
- next() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Entries
-
Note the same entry instance is returned each time this method is called.
- next() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
- next() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
- nextChunks() - Method in class com.esotericsoftware.kryo.io.InputChunked
-
Advances the stream to the next set of chunks.
- nextNameId - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- nextPowerOfTwo(int) - Static method in class com.esotericsoftware.kryo.util.ObjectMap
- nextReadId(Class) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns the ID for the next object that will be read.
- nextReadId(Class) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- nextReadId(Class) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- NOT_NULL - Static variable in class com.esotericsoftware.kryo.Kryo
- NotNull - Annotation Type in com.esotericsoftware.kryo
-
Indicates a field can never be null when it is being serialized and deserialized.
- NULL - Static variable in class com.esotericsoftware.kryo.Kryo
O
- ObjectArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
- ObjectMap<K,V> - Class in com.esotericsoftware.kryo.util
-
An unordered map.
- ObjectMap() - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- ObjectMap(int) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with a load factor of 0.8.
- ObjectMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with the specified initial capacity and load factor.
- ObjectMap.Entries<K,V> - Class in com.esotericsoftware.kryo.util
- ObjectMap.Entry<K,V> - Class in com.esotericsoftware.kryo.util
- ObjectMap.Keys<K> - Class in com.esotericsoftware.kryo.util
- ObjectMap.Values<V> - Class in com.esotericsoftware.kryo.util
- ordered - Variable in class com.esotericsoftware.kryo.util.IntArray
- Output - Class in com.esotericsoftware.kryo.io
-
An OutputStream that buffers data in a byte array and optionally flushes to another OutputStream.
- Output() - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates an uninitialized Output.
- Output(byte[]) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(byte[], int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(int, int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(OutputStream) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to an OutputStream.
- Output(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to an OutputStream.
- OutputChunked - Class in com.esotericsoftware.kryo.io
-
An OutputStream that buffers data in a byte array and flushes to another OutputStream, writing the length before each flush.
- OutputChunked() - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
Creates an uninitialized OutputChunked with a maximum chunk size of 2048.
- OutputChunked(int) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
Creates an uninitialized OutputChunked.
- OutputChunked(OutputStream) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
Creates an OutputChunked with a maximum chunk size of 2048.
- OutputChunked(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
P
- peek() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Returns the last item.
- pop() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes and returns the last item.
- position() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns the current position in the buffer.
- position() - Method in class com.esotericsoftware.kryo.io.Output
-
Returns the current position in the buffer.
- put(int, V) - Method in class com.esotericsoftware.kryo.util.IntMap
- put(K, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- put(K, V) - Method in class com.esotericsoftware.kryo.util.IdentityMap
- put(K, V) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns the old value associated with the specified key, or null.
- putAll(ObjectMap<K, V>) - Method in class com.esotericsoftware.kryo.util.ObjectMap
R
- read() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
- read() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a single byte as an int from 0 to 255, or -1 if there are no more bytes are available.
- read(byte[]) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads bytes.length bytes or less and writes them to the specified byte[], starting at 0, and returns the number of bytes read.
- read(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
- read(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads count bytes or less and writes them to the specified byte[], starting at offset, and returns the number of bytes read or -1 if no more bytes are available.
- read(Input, Object) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- read(Kryo, Input) - Method in interface com.esotericsoftware.kryo.KryoSerializable
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.BlowfishSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyListSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyMapSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptySetSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonListSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonSetSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.JavaSerializer
- read(Kryo, Input, Class<boolean[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
- read(Kryo, Input, Class<byte[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
- read(Kryo, Input, Class<char[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
- read(Kryo, Input, Class<KryoSerializable>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.KryoSerializableSerializer
- read(Kryo, Input, Class<double[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
- read(Kryo, Input, Class<float[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.FloatArraySerializer
- read(Kryo, Input, Class<int[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
- read(Kryo, Input, Class<Boolean>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BooleanSerializer
- read(Kryo, Input, Class<Byte>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ByteSerializer
- read(Kryo, Input, Class<Character>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharSerializer
- read(Kryo, Input, Class<Class>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ClassSerializer
- read(Kryo, Input, Class<Double>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DoubleSerializer
- read(Kryo, Input, Class<Enum>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSerializer
- read(Kryo, Input, Class<Float>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.FloatSerializer
- read(Kryo, Input, Class<Integer>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.IntSerializer
- read(Kryo, Input, Class<Long>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LongSerializer
- read(Kryo, Input, Class<Object[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
- read(Kryo, Input, Class<Short>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ShortSerializer
- read(Kryo, Input, Class<String[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
- read(Kryo, Input, Class<String>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringSerializer
- read(Kryo, Input, Class<StringBuffer>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
- read(Kryo, Input, Class<StringBuilder>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
- read(Kryo, Input, Class<BigDecimal>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigDecimalSerializer
- read(Kryo, Input, Class<BigInteger>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigIntegerSerializer
- read(Kryo, Input, Class<Calendar>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- read(Kryo, Input, Class<Collection>) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
- read(Kryo, Input, Class<Currency>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CurrencySerializer
- read(Kryo, Input, Class<Date>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DateSerializer
- read(Kryo, Input, Class<EnumSet>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
- read(Kryo, Input, Class<Map>) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- read(Kryo, Input, Class<TimeZone>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TimeZoneSerializer
- read(Kryo, Input, Class<long[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
- read(Kryo, Input, Class<short[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.Serializer
-
Reads bytes and returns a new object of the specified concrete type.
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.BeanSerializer
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- readBoolean() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1 byte boolean.
- readByte() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a single byte.
- readBytes(byte[]) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads bytes.length bytes and writes them to the specified byte[], starting at index 0.
- readBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads count bytes and writes them to the specified byte[], starting at offset.
- readBytes(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the specified number of bytes into a new byte[].
- readByteUnsigned() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a byte as an int from 0 to 255.
- readChar() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte char.
- readClass(Input) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Reads a class and returns its registration.
- readClass(Input) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads a class and returns its registration.
- readClass(Input) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- readClassAndObject(Input) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads the class and object or null using the registered serializer.
- readDouble() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an 8 bytes double.
- readDouble(double, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-9 byte double with reduced precision.
- readFloat() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 4 byte float.
- readFloat(float, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-5 byte float with reduced precision.
- readInt() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 4 byte int.
- readInt(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-5 byte int.
- readLong() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an 8 byte long.
- readLong(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-9 byte long.
- readName(Input) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- readObject(Input, Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object using the registered serializer.
- readObject(Input, Class<T>, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object using the specified serializer.
- readObjectOrNull(Input, Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object or null using the registered serializer.
- readObjectOrNull(Input, Class<T>, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object or null using the specified serializer.
- readObjects - Variable in class com.esotericsoftware.kryo.util.MapReferenceResolver
- readShort() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte short.
- readShortUnsigned() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte short as an int from 0 to 65535.
- readString() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the length and string of UTF8 characters, or null.
- readStringBuilder() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the length and string of UTF8 characters, or null.
- reference(Object) - Method in class com.esotericsoftware.kryo.Kryo
-
Called by
Serializer.read(Kryo, Input, Class)
andSerializer.copy(Kryo, Object)
before Kryo can be used to deserialize or copy child objects. - ReferenceResolver - Interface in com.esotericsoftware.kryo
-
When references are enabled, this tracks objects that have already been read or written, provides an ID for objects that are written, and looks up by ID objects that have been read.
- register(Registration) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Stores the specified registration.
- register(Registration) - Method in class com.esotericsoftware.kryo.Kryo
-
Stores the specified registration.
- register(Registration) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- register(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Registers the class using the lowest, next available integer ID and the
default serializer
. - register(Class, int) - Method in class com.esotericsoftware.kryo.Kryo
-
Registers the class using the specified ID and the
default serializer
. - register(Class, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Registers the class using the lowest, next available integer ID and the specified serializer.
- register(Class, Serializer, int) - Method in class com.esotericsoftware.kryo.Kryo
-
Registers the class using the specified ID and serializer.
- registerImplicit(Class) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Called when an unregistered type is encountered and
Kryo.setRegistrationRequired(boolean)
is false. - registerImplicit(Class) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- Registration - Class in com.esotericsoftware.kryo
-
Describes the
Serializer
and class ID to use for a class. - Registration(Class, Serializer, int) - Constructor for class com.esotericsoftware.kryo.Registration
- remove(int) - Method in class com.esotericsoftware.kryo.util.IntMap
- remove(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
- remove(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- remove(K, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- removeField(String) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Removes a field so that it won't be serialized.
- removeField(String) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- removeIndex(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes and returns the item at the specified index.
- removeValue(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- reset() - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Called by
Kryo.reset()
. - reset() - Method in class com.esotericsoftware.kryo.Kryo
-
Resets unregistered class names.
- reset() - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Called by
Kryo.reset()
. - reset() - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- reset() - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- reset() - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- resize(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- reverse() - Method in class com.esotericsoftware.kryo.util.IntArray
- rewind() - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the position and total to zero.
- rewind() - Method in class com.esotericsoftware.kryo.io.InputChunked
S
- seenObjects - Variable in class com.esotericsoftware.kryo.util.ListReferenceResolver
- 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[]) - 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.
- 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
- 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
-
Sets the serailzer to use when no
default serializers
match an object's type. - 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
-
Sets the default value for
FieldSerializer.CachedField.setCanBeNull(boolean)
. - setFixedFieldTypes(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Sets the default value for
FieldSerializer.CachedField.setClass(Class)
to the field's declared type. - 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
-
Sets the instantiator that will create a new instance of the type in
Kryo.newInstance(Class)
. - setInstantiatorStrategy(InstantiatorStrategy) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the strategy used by
Kryo.newInstantiator(Class)
for creating objects. - 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.
- 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
- ShortArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
- ShortSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.ShortSerializer
- 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.
- StringArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
- StringBufferSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
- StringBuilderSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
- StringSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringSerializer
- swap(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
T
- TaggedFieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment for fields that have been
tagged
. - TaggedFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- TaggedFieldSerializer.Tag - Annotation Type in com.esotericsoftware.kryo.serializers
-
If true, this field will not be serialized.
- TimeZoneSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.TimeZoneSerializer
- toArray() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Keys
-
Returns a new array containing the remaining keys.
- toArray() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Values
-
Returns a new array containing the remaining values.
- toArray() - Method in class com.esotericsoftware.kryo.util.IntArray
- toArray() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
-
Returns a new array containing the remaining keys.
- toArray() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
-
Returns a new array containing the remaining values.
- toArray(ArrayList<V>) - Method in class com.esotericsoftware.kryo.util.IdentityMap.Values
-
Returns a new array containing the remaining values.
- toArray(ArrayList<V>) - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
-
Adds the remaining values to the specified array.
- toBytes() - Method in class com.esotericsoftware.kryo.io.Output
-
Returns a new byte array containing the bytes currently in the buffer between zero and
Output.position()
. - toString() - Method in class com.esotericsoftware.kryo.Registration
- toString() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- toString() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Entry
- toString() - Method in class com.esotericsoftware.kryo.util.IdentityMap
- toString() - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- toString() - Method in class com.esotericsoftware.kryo.util.IntArray
- toString() - Method in class com.esotericsoftware.kryo.util.IntMap
- toString() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Entry
- toString() - Method in class com.esotericsoftware.kryo.util.ObjectMap
- toString(String) - Method in class com.esotericsoftware.kryo.util.IntArray
- total() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns the number of bytes read.
- total() - Method in class com.esotericsoftware.kryo.io.Output
-
Returns the total number of bytes written.
- TreeMapSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- truncate(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Reduces the size of the array to the specified size.
U
- useReferences(Class) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns true if references will be written for the specified type.
- useReferences(Class) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
Returns false for Boolean, Byte, Character, and Short.
- useReferences(Class) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
Returns false for all primitive wrappers.
- Util - Class in com.esotericsoftware.kryo.util
-
A few utility methods, mostly for private use.
- Util() - Constructor for class com.esotericsoftware.kryo.util.Util
V
- value - Variable in class com.esotericsoftware.kryo.util.IdentityMap.Entry
- value - Variable in class com.esotericsoftware.kryo.util.ObjectMap.Entry
- value() - Method in annotation type com.esotericsoftware.kryo.DefaultSerializer
- value() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Optional
- value() - Method in annotation type com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.Tag
- values() - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Returns an iterator for the values in the map.
- values() - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns an iterator for the values in the map.
- Values(IdentityMap<?, V>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Values
- Values(ObjectMap<?, V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Values
W
- write(byte[]) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- write(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- write(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- write(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- write(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a byte.
- write(Output, Object) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- write(Kryo, Output) - Method in interface com.esotericsoftware.kryo.KryoSerializable
- write(Kryo, Output, boolean[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
- write(Kryo, Output, byte[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
- write(Kryo, Output, char[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
- write(Kryo, Output, double[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
- write(Kryo, Output, float[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.FloatArraySerializer
- write(Kryo, Output, int[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
- write(Kryo, Output, long[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
- write(Kryo, Output, short[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
- write(Kryo, Output, KryoSerializable) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.KryoSerializableSerializer
- write(Kryo, Output, Boolean) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BooleanSerializer
- write(Kryo, Output, Byte) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ByteSerializer
- write(Kryo, Output, Character) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharSerializer
- write(Kryo, Output, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ClassSerializer
- write(Kryo, Output, Double) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DoubleSerializer
- write(Kryo, Output, Enum) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSerializer
- write(Kryo, Output, Float) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.FloatSerializer
- write(Kryo, Output, Integer) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.IntSerializer
- write(Kryo, Output, Long) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LongSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.BlowfishSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyListSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyMapSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptySetSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.JavaSerializer
- write(Kryo, Output, Object[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
- write(Kryo, Output, Short) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ShortSerializer
- write(Kryo, Output, String) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringSerializer
- write(Kryo, Output, String[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
- write(Kryo, Output, StringBuffer) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
- write(Kryo, Output, StringBuilder) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
- write(Kryo, Output, BigDecimal) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigDecimalSerializer
- write(Kryo, Output, BigInteger) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigIntegerSerializer
- write(Kryo, Output, Calendar) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- write(Kryo, Output, Collection) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
- write(Kryo, Output, Currency) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CurrencySerializer
- write(Kryo, Output, Date) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DateSerializer
- write(Kryo, Output, EnumSet) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
- write(Kryo, Output, List) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonListSerializer
- write(Kryo, Output, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
- write(Kryo, Output, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- write(Kryo, Output, Map) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- write(Kryo, Output, Set) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonSetSerializer
- write(Kryo, Output, TimeZone) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TimeZoneSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.Serializer
-
Writes the bytes for the object to the output.
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.BeanSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- writeAscii(String) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a string that is known to contain only ASCII characters.
- writeBoolean(boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1 byte boolean.
- writeByte(byte) - Method in class com.esotericsoftware.kryo.io.Output
- writeByte(int) - Method in class com.esotericsoftware.kryo.io.Output
- writeBytes(byte[]) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- writeBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- writeChar(char) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 2 byte char.
- writeClass(Output, Class) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Writes a class and returns its registration.
- writeClass(Output, Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Writes a class and returns its registration.
- writeClass(Output, Class) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- writeClassAndObject(Output, Object) - Method in class com.esotericsoftware.kryo.Kryo
-
Writes the class and object or null using the registered serializer.
- writeDouble(double) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes an 8 byte double.
- writeDouble(double, double, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-9 byte double with reduced precision.
- writeFloat(float) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 4 byte float.
- writeFloat(float, float, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-5 byte float with reduced precision.
- writeInt(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 4 byte int.
- writeInt(int, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-5 byte int.
- writeLong(long) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes an 8 byte long.
- writeLong(long, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-9 byte long.
- writeName(Output, Class, Registration) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- writeObject(Output, Object) - Method in class com.esotericsoftware.kryo.Kryo
-
Writes an object using the registered serializer.
- writeObject(Output, Object, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Writes an object using the specified serializer.
- writeObjectOrNull(Output, Object, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Writes an object or null using the specified serializer.
- writeObjectOrNull(Output, Object, Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Writes an object or null using the registered serializer for the specified type.
- writeShort(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 2 byte short.
- writeString(CharSequence) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the length and CharSequence as UTF8, or null.
- writeString(String) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the length and string, or null.
- writtenObjects - Variable in class com.esotericsoftware.kryo.util.MapReferenceResolver
All Classes All Packages