A B C D E F G H I J K L M N O P R S T U V W Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- add(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- add(int, int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- add(int, int, int, 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 when
Kryo.register(Class)
orKryo.register(Class, int)
are called. - addDefaultSerializer(Class, SerializerFactory) - Method in class com.esotericsoftware.kryo.Kryo
-
Instances of the specified class will use the specified factory to create a serializer when
Kryo.register(Class)
orKryo.register(Class, int)
are called. - addDefaultSerializer(Class, Class<? extends Serializer>) - Method in class com.esotericsoftware.kryo.Kryo
-
Instances of the specified class will use the specified serializer when
Kryo.register(Class)
orKryo.register(Class, int)
are called. - addDefaultSerializers(Kryo) - Static method in class com.esotericsoftware.kryo.serializers.ImmutableCollectionsSerializers
- addDefaultSerializers(Kryo) - Static method in class com.esotericsoftware.kryo.serializers.OptionalSerializers
- addDefaultSerializers(Kryo) - Static method in class com.esotericsoftware.kryo.serializers.TimeSerializers
- 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.HashMapReferenceResolver
- addWrittenObject(Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- addWrittenObject(Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- ArraysAsListSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.ArraysAsListSerializer
- available() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
- available() - Method in class com.esotericsoftware.kryo.io.Input
- available() - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
B
- BaseSerializerFactory() - Constructor for class com.esotericsoftware.kryo.SerializerFactory.BaseSerializerFactory
- 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
- BitSetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.BitSetSerializer
- BlowfishSerializer - Class in com.esotericsoftware.kryo.serializers
-
Encrypts data using the blowfish cipher.
- BlowfishSerializer(Serializer, byte[]) - Constructor for class com.esotericsoftware.kryo.serializers.BlowfishSerializer
- booleanArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- BooleanArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
- BooleanSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.BooleanSerializer
- buffer - Variable in class com.esotericsoftware.kryo.io.Input
- buffer - Variable in class com.esotericsoftware.kryo.io.Output
- byteArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- ByteArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
- byteBuffer - Variable in class com.esotericsoftware.kryo.io.ByteBufferInput
- byteBuffer - Variable in class com.esotericsoftware.kryo.io.ByteBufferOutput
- ByteBufferInput - Class in com.esotericsoftware.kryo.io
-
An
Input
that uses a ByteBuffer rather than a byte[]. - ByteBufferInput() - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
-
Creates an uninitialized Input,
ByteBufferInput.setBuffer(ByteBuffer)
must be called before the Input is used. - ByteBufferInput(byte[]) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
-
Creates a new Input for reading from a
ByteBuffer
which is filled with the specified bytes. - ByteBufferInput(byte[], int, int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
-
Creates a new Input for reading from a
ByteBuffer
which is filled with the specified bytes. - ByteBufferInput(int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
-
Creates a new Input for reading from a direct
ByteBuffer
. - ByteBufferInput(InputStream) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
- ByteBufferInput(InputStream, int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
- ByteBufferInput(ByteBuffer) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInput
-
Creates a new Input for reading from a ByteBuffer.
- ByteBufferInputStream - Class in com.esotericsoftware.kryo.io
-
An InputStream whose source is a
ByteBuffer
. - ByteBufferInputStream() - Constructor for class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
Creates an uninitialized stream that cannot be used until
ByteBufferInputStream.setByteBuffer(ByteBuffer)
is called. - 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
- ByteBufferOutput - Class in com.esotericsoftware.kryo.io
-
An
Output
that uses a ByteBuffer rather than a byte[]. - ByteBufferOutput() - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Creates an uninitialized Output,
ByteBufferOutput.setBuffer(ByteBuffer)
must be called before the Output is used. - ByteBufferOutput(int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Creates a new Output for writing to a direct
ByteBuffer
. - ByteBufferOutput(int, int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Creates a new Output for writing to a direct ByteBuffer.
- ByteBufferOutput(OutputStream) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
- ByteBufferOutput(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
- ByteBufferOutput(ByteBuffer) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Creates a new Output for writing to a ByteBuffer.
- ByteBufferOutput(ByteBuffer, int) - Constructor for class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Creates a new Output for writing to a ByteBuffer.
- 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(Field) - Constructor for class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- CalendarSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- canBeNull() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Bind
- canonicalName(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the class formatted as a string.
- 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)
. - canReadVarInt() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- canReadVarInt() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns true if enough bytes are available to read an int with
Input.readVarInt(boolean)
. - canReadVarLong() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- canReadVarLong() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns true if enough bytes are available to read a long with
Input.readVarLong(boolean)
. - capacity - Variable in class com.esotericsoftware.kryo.io.Input
- capacity - Variable in class com.esotericsoftware.kryo.io.Output
- charArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- CharArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
- chars - Variable in class com.esotericsoftware.kryo.io.Input
- CharSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharSerializer
- CharsetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharsetSerializer
- className(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the class formatted as a string.
- classNames(Class[]) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the classes 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
- clean() - Method in class com.esotericsoftware.kryo.util.Pool
-
If using soft references, all soft references whose objects have been garbage collected are removed from the pool.
- clear() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
- 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.ObjectIntMap
- clear() - Method in class com.esotericsoftware.kryo.util.ObjectMap
- clear() - Method in class com.esotericsoftware.kryo.util.Pool
-
Removes all free objects from this pool.
- clear(int) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Clears the map and reduces the size of the backing arrays to be the specified capacity if they are larger.
- clear(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Clears the map and reduces the size of the backing arrays to be the specified capacity / loadFactor, if they are larger.
- clear(int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Clears the map and reduces the size of the backing arrays to be the specified capacity / loadFactor, if they are larger.
- clear(int) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Clears the map and reduces the size of the backing arrays to be the specified capacity / loadFactor, if they are larger.
- clone() - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
- clone() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- clone() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
- clone() - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer.VersionFieldSerializerConfig
- close() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- close() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- close() - Method in class com.esotericsoftware.kryo.io.Input
-
Closes the underlying InputStream, if any.
- close() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- close() - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- close() - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
- close() - Method in class com.esotericsoftware.kryo.io.KryoObjectOutput
- close() - Method in class com.esotericsoftware.kryo.io.Output
-
Flushes any buffered bytes and closes the underlying OutputStream, if any.
- Closure() - Constructor for class com.esotericsoftware.kryo.serializers.ClosureSerializer.Closure
- ClosureSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for Java8 closures which implement Serializable.
- ClosureSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.ClosureSerializer
- ClosureSerializer.Closure - Class in com.esotericsoftware.kryo.serializers
-
Marker class used to find the class
Registration
for closure instances. - 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<T extends Collection> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects that implement the
Collection
interface. - CollectionSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
- CollectionSerializer.BindCollection - Annotation Type in com.esotericsoftware.kryo.serializers
- 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.unsafe - package com.esotericsoftware.kryo.unsafe
- com.esotericsoftware.kryo.util - package com.esotericsoftware.kryo.util
- CompatibleFieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment, providing both forward and backward compatibility.
- CompatibleFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- CompatibleFieldSerializer(Kryo, Class, CompatibleFieldSerializer.CompatibleFieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- CompatibleFieldSerializer.CompatibleFieldSerializerConfig - Class in com.esotericsoftware.kryo.serializers
-
Configuration for CompatibleFieldSerializer instances.
- CompatibleFieldSerializerConfig() - Constructor for class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
- CompatibleFieldSerializerFactory() - Constructor for class com.esotericsoftware.kryo.SerializerFactory.CompatibleFieldSerializerFactory
- CompatibleFieldSerializerFactory(CompatibleFieldSerializer.CompatibleFieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.SerializerFactory.CompatibleFieldSerializerFactory
- ConcurrentSkipListMapSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.ConcurrentSkipListMapSerializer
- 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.CuckooObjectMap
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- containsValue(int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Returns true if the specified value is in the map.
- containsValue(Object, boolean) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
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.ClosureSerializer
- 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, BitSet) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BitSetSerializer
- copy(Kryo, Calendar) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- 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, List) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ArraysAsListSerializer
- copy(Kryo, List) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonListSerializer
- copy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
- copy(Kryo, Optional) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalSerializer
- copy(Kryo, Set) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonSetSerializer
- 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.CollectionSerializer
- copy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- copy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- 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() - Method in class com.esotericsoftware.kryo.util.Pool
- create(Kryo, Input, Class<? extends ConcurrentSkipListMap>, int) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ConcurrentSkipListMapSerializer
- create(Kryo, Input, Class<? extends EnumMap>, int) - Method in class com.esotericsoftware.kryo.serializers.EnumMapSerializer
- create(Kryo, Input, Class<? extends PriorityQueue>, int) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.PriorityQueueSerializer
- create(Kryo, Input, Class<? extends TreeMap>, int) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- create(Kryo, Input, Class<? extends TreeSet>, int) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeSetSerializer
- create(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Used by
FieldSerializer.read(Kryo, Input, Class)
to create the new object. - create(Kryo, Input, Class<? extends T>, int) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
Used by
CollectionSerializer.read(Kryo, Input, Class)
to create the new object. - create(Kryo, Input, Class<? extends T>, int) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
Used by
MapSerializer.read(Kryo, Input, Class)
to create the new object. - create(Kryo, Input, Class, int) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ArraysAsListSerializer
- create(String, String, String) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- createCopy(Kryo, ConcurrentSkipListMap) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ConcurrentSkipListMapSerializer
- createCopy(Kryo, EnumMap) - Method in class com.esotericsoftware.kryo.serializers.EnumMapSerializer
- createCopy(Kryo, PriorityQueue) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.PriorityQueueSerializer
- createCopy(Kryo, TreeMap) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- createCopy(Kryo, TreeSet) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeSetSerializer
- createCopy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
Used by
CollectionSerializer.copy(Kryo, Collection)
to create the new object. - createCopy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Used by
FieldSerializer.copy(Kryo, Object)
to create a new object. - createCopy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- CuckooObjectMap<K,V> - Class in com.esotericsoftware.kryo.util
-
An unordered map.
- CuckooObjectMap() - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- CuckooObjectMap(int) - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Creates a new map with a load factor of 0.8.
- CuckooObjectMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Creates a new map with the specified initial capacity and load factor.
- CuckooObjectMap(CuckooObjectMap<? extends K, ? extends V>) - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Creates a new map identical to the specified map.
- CuckooObjectMap.Entries<K,V> - Class in com.esotericsoftware.kryo.util
- CuckooObjectMap.Entry<K,V> - Class in com.esotericsoftware.kryo.util
- CuckooObjectMap.Keys<K> - Class in com.esotericsoftware.kryo.util
- CuckooObjectMap.Values<V> - Class in com.esotericsoftware.kryo.util
- 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
- DefaultGenerics - Class in com.esotericsoftware.kryo.util
-
Stores the generic type arguments and actual classes for type variables in the current location in the object graph.
- DefaultGenerics(Kryo) - Constructor for class com.esotericsoftware.kryo.util.DefaultGenerics
- DefaultInstantiatorStrategy - Class in com.esotericsoftware.kryo.util
- DefaultInstantiatorStrategy() - Constructor for class com.esotericsoftware.kryo.util.DefaultInstantiatorStrategy
- DefaultInstantiatorStrategy(InstantiatorStrategy) - Constructor for class com.esotericsoftware.kryo.util.DefaultInstantiatorStrategy
- 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.ArraysAsListSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
Arrays.asList(Object...)
. - DefaultSerializers.BigDecimalSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
BigDecimal
and any subclass. - DefaultSerializers.BigIntegerSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
BigInteger
and any subclass. - DefaultSerializers.BitSetSerializer - 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.CharsetSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
Charset
. - 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.ConcurrentSkipListMapSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
ConcurrentSkipListMap
and any subclass. - 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.LocaleSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
Locale
(immutables). - DefaultSerializers.LongSerializer - Class in com.esotericsoftware.kryo.serializers
- DefaultSerializers.PriorityQueueSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
PriorityQueue
and any subclass. - 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
-
Serializer for
TreeMap
and any subclass. - DefaultSerializers.TreeSetSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
TreeMap
and any subclass. - DefaultSerializers.URLSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializer for
URL
. - DefaultSerializers.VoidSerializer - Class in com.esotericsoftware.kryo.serializers
- DeflateSerializer - Class in com.esotericsoftware.kryo.serializers
- DeflateSerializer(Serializer) - Constructor for class com.esotericsoftware.kryo.serializers.DeflateSerializer
- dispose() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Releases the byte buffer immediately, rather than waiting for GC.
- dispose(ByteBuffer) - Static method in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
-
Release a direct buffer immediately rather than waiting for GC.
- doubleArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- DoubleArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
- DoubleSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.DoubleSerializer
- DurationSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.DurationSerializer
E
- elementClass() - Method in annotation type com.esotericsoftware.kryo.serializers.CollectionSerializer.BindCollection
- elementsCanBeNull() - Method in annotation type com.esotericsoftware.kryo.serializers.CollectionSerializer.BindCollection
- elementSerializer() - Method in annotation type com.esotericsoftware.kryo.serializers.CollectionSerializer.BindCollection
-
The element serializer class, which will be created using the
CollectionSerializer.BindCollection.elementSerializerFactory()
. - elementSerializerFactory() - Method in annotation type com.esotericsoftware.kryo.serializers.CollectionSerializer.BindCollection
-
The factory used to create the element serializer.
- end() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns true if the
Input.limit()
has been reached andInput.fill(byte[], int, int)
is unable to provide more bytes. - endChunk() - Method in class com.esotericsoftware.kryo.io.OutputChunked
-
Marks the curent written data as the end of a chunk.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
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 accommodate the specified number of additional items.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Increases the size of the backing array to accommodate the specified number of additional items / loadFactor.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Increases the size of the backing array to accommodate the specified number of additional items / loadFactor.
- ensureCapacity(int) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Increases the size of the backing array to accommodate the specified number of additional items / loadFactor.
- entries() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Returns an iterator for the entries in the map.
- entries() - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns an iterator for the entries in the map.
- entries() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
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(CuckooObjectMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap.Entries
- Entries(IntMap) - Constructor for class com.esotericsoftware.kryo.util.IntMap.Entries
- Entries(ObjectIntMap<K>) - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap.Entries
- Entries(ObjectMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Entries
- Entry() - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap.Entry
- Entry() - Constructor for class com.esotericsoftware.kryo.util.IntMap.Entry
- Entry() - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap.Entry
- Entry() - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Entry
- EnumMapSerializer - Class in com.esotericsoftware.kryo.serializers
- EnumMapSerializer(Class<? extends Enum>) - Constructor for class com.esotericsoftware.kryo.serializers.EnumMapSerializer
- EnumNameSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializes enums using the enum's name.
- EnumNameSerializer(Class<? extends Enum>) - Constructor for class com.esotericsoftware.kryo.serializers.EnumNameSerializer
- EnumSerializer(Class<? extends Enum>) - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSerializer
- EnumSetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
- equals(Object) - Method in class com.esotericsoftware.kryo.util.IntArray
- equals(Object) - Method in class com.esotericsoftware.kryo.util.IntMap
- equals(Object) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- equals(Object) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- equalsIdentity(Object) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Uses == for comparison of each value.
- equalsIdentity(Object) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Uses == for comparison of each value.
- ExternalizableSerializer - Class in com.esotericsoftware.kryo.serializers
-
Writes using the objects externalizable interface if it can reliably do so.
- ExternalizableSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.ExternalizableSerializer
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(Kryo, Class, FieldSerializer.FieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.serializers.FieldSerializer
- FieldSerializer.Bind - Annotation Type in com.esotericsoftware.kryo.serializers
-
Used to annotate fields with a specific Kryo serializer.
- FieldSerializer.CachedField - Class in com.esotericsoftware.kryo.serializers
-
Settings for serializing a field.
- FieldSerializer.FieldSerializerConfig - Class in com.esotericsoftware.kryo.serializers
-
Configuration for FieldSerializer instances.
- FieldSerializer.NotNull - Annotation Type in com.esotericsoftware.kryo.serializers
-
Indicates a field can never be null when it is being serialized and deserialized.
- 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. - FieldSerializerConfig() - Constructor for class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- FieldSerializerFactory() - Constructor for class com.esotericsoftware.kryo.SerializerFactory.FieldSerializerFactory
- FieldSerializerFactory(FieldSerializer.FieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.SerializerFactory.FieldSerializerFactory
- 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
- fill(ByteBuffer, int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Fills the buffer with more bytes.
- findKey(int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
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.CuckooObjectMap
-
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.
- first() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Returns the first item.
- floatArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- 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.ByteBufferOutput
- flush() - Method in class com.esotericsoftware.kryo.io.KryoObjectOutput
- flush() - Method in class com.esotericsoftware.kryo.io.Output
-
Flushes the buffered bytes.
- flush() - Method in class com.esotericsoftware.kryo.io.OutputChunked
- free(T) - Method in class com.esotericsoftware.kryo.util.Pool
-
Puts the specified object in the pool, making it eligible to be returned by
Pool.obtain()
.
G
- Generics - Interface in com.esotericsoftware.kryo.util
-
Handles storage of generic type information
- Generics.GenericsHierarchy - Class in com.esotericsoftware.kryo.util
-
Stores the type parameters for a class and, for parameters passed to super classes, the corresponding super class type parameters.
- Generics.GenericType - Class in com.esotericsoftware.kryo.util
-
Stores a type and its type parameters, recursively.
- GenericsHierarchy(Class) - Constructor for class com.esotericsoftware.kryo.util.Generics.GenericsHierarchy
- GenericsUtil - Class in com.esotericsoftware.kryo.util
- GenericsUtil() - Constructor for class com.esotericsoftware.kryo.util.GenericsUtil
- GenericType(Class, Class, Type) - Constructor for class com.esotericsoftware.kryo.util.Generics.GenericType
- 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.CuckooObjectMap
- get(K, int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Returns the value for the specified key, or the default value if the key is not in the map.
- get(K, V) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Returns the value for the specified key, or the default value if the key is not in the map.
- get(K, V) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns the value for the specified key, or the default value if the key is not in the map.
- get(T) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns the value for the specified key, or null if the key is not in the map.
- getAcceptsNull() - Method in class com.esotericsoftware.kryo.Serializer
- getAndIncrement(K, int, int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Returns the key's current value and increments the stored value.
- getBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Deprecated.
- getBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Deprecated.
- getBuffer() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns the buffer.
- getBuffer() - Method in class com.esotericsoftware.kryo.io.Output
-
Returns the buffer.
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Returns the buffer.
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- getCanBeNull() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getChunkedEncoding() - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
- getChunkedEncoding() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
- getChunkSize() - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
- getChunkSize() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
- getClassLoader() - Method in class com.esotericsoftware.kryo.Kryo
- getClassResolver() - Method in class com.esotericsoftware.kryo.Kryo
- getCompatible() - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer.VersionFieldSerializerConfig
- getCompatibleFieldSerializerConfig() - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- getConfig() - Method in class com.esotericsoftware.kryo.SerializerFactory.CompatibleFieldSerializerFactory
- getConfig() - Method in class com.esotericsoftware.kryo.SerializerFactory.FieldSerializerFactory
- getConfig() - Method in class com.esotericsoftware.kryo.SerializerFactory.TaggedFieldSerializerFactory
- getConfig() - Method in class com.esotericsoftware.kryo.SerializerFactory.VersionFieldSerializerFactory
- getContext() - Method in class com.esotericsoftware.kryo.Kryo
-
Name/value pairs that are available to all serializers.
- getCopyFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Returns the fields used for copying.
- getCopyTransient() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getDefaultSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the best matching serializer for a class.
- getDefaultSerializerForAnnotatedType(Class) - Method in class com.esotericsoftware.kryo.Kryo
- 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() - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
- getElementClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the base element type of an n-dimensional array class.
- getElementSerializer() - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
- getExtendedFieldNames() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getFallbackInstantiatorStrategy() - Method in class com.esotericsoftware.kryo.util.DefaultInstantiatorStrategy
- getField() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getField(String) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Returns the field with the specified name, allowing field specific settings to be configured.
- getFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Returns the fields used for serialization.
- getFieldsCanBeNull() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getFieldSerializerConfig() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
If the returned config settings are modified,
FieldSerializer.updateFields()
must be called. - getFixedFieldTypes() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getFree() - Method in class com.esotericsoftware.kryo.util.Pool
-
The number of objects available to be obtained.
- getGenerics() - Method in class com.esotericsoftware.kryo.Kryo
-
Tracks the generic type arguments and actual classes for type variables in the object graph during seralization.
- getGenericTypesSize() - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- getGenericTypesSize() - Method in interface com.esotericsoftware.kryo.util.Generics
-
Returns the number of generic types currently tracked
- getGenericTypesSize() - Method in class com.esotericsoftware.kryo.util.NoGenerics
- 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.
- getIgnoreSyntheticFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getInputStream() - Method in class com.esotericsoftware.kryo.io.Input
- getInstantiator() - Method in class com.esotericsoftware.kryo.Registration
- getInstantiatorStrategy() - Method in class com.esotericsoftware.kryo.Kryo
- getKeyClass() - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- getKeySerializer() - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- getKryo() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- getMaxCapacity() - Method in class com.esotericsoftware.kryo.io.Output
-
The maximum buffer size, or -1 for no maximum.
- getMessage() - Method in exception com.esotericsoftware.kryo.KryoException
- getName() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getNextRegistrationId() - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the lowest, next available integer ID.
- getOptimizePositive() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getOriginalToCopyMap() - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the internal map of original to copy objects when a copy method is used.
- getOutputStream() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- getOutputStream() - Method in class com.esotericsoftware.kryo.io.Output
- getPeak() - Method in class com.esotericsoftware.kryo.util.Pool
-
The all-time highest number of free objects.
- getPrimitiveClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the primitive class for a primitive wrapper class.
- 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.HashMapReferenceResolver
- getReadObject(Class, int) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- getReadObject(Class, int) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- getReadUnknownTagData() - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
- getReadUnknownTagData() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
- 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
-
If the class is not registered and
Kryo.setRegistrationRequired(boolean)
is false, it is automatically registered using thedefault serializer
. - getRegistration(Class) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- getSerializer() - Method in class com.esotericsoftware.kryo.Registration
- getSerializer() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the serializer for the registration for the specified class.
- getSerializeTransient() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getSetFieldsAsAccessible() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getTaggedFieldSerializerConfig() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- getType() - Method in class com.esotericsoftware.kryo.Registration
- getType() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- getType() - Method in class com.esotericsoftware.kryo.util.Generics.GenericType
- getTypeByName(String) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- getTypeParameters() - Method in class com.esotericsoftware.kryo.util.Generics.GenericType
- getValueClass() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getValueClass() - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- getValueSerializer() - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- getVariableLengthEncoding() - Method in class com.esotericsoftware.kryo.io.Input
- getVariableLengthEncoding() - Method in class com.esotericsoftware.kryo.io.Output
- getVariableLengthEncoding() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- getVariableLengthEncoding() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
- getVersionFieldSerializerConfig() - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- getWarnUnregisteredClasses() - Method in class com.esotericsoftware.kryo.Kryo
- getWrapperClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the primitive wrapper class for a primitive class, or the specified class if it is not primitive.
- 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.HashMapReferenceResolver
- getWrittenId(Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- getWrittenId(Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
H
- hashCode() - Method in class com.esotericsoftware.kryo.util.IdentityMap
- hashCode() - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- hashCode() - Method in class com.esotericsoftware.kryo.util.IntArray
- hashCode() - Method in class com.esotericsoftware.kryo.util.IntMap
- hashCode() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- hashCode() - Method in class com.esotericsoftware.kryo.util.ObjectMap
- HashMapReferenceResolver - Class in com.esotericsoftware.kryo.util
-
Uses an
IdentityHashMap
to track objects that have already been written. - HashMapReferenceResolver() - Constructor for class com.esotericsoftware.kryo.util.HashMapReferenceResolver
- hasNext() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Entries
- hasNext() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Keys
- hasNext() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Values
- hasNext() - Method in class com.esotericsoftware.kryo.util.IntMap.Entries
- hasNext() - Method in class com.esotericsoftware.kryo.util.IntMap.Values
- hasNext() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Entries
- hasNext() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Keys
- hasNext() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.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 the object keys.
- IdentityMap() - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with an initial capacity of 51 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(IdentityMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map identical to the specified map.
- IdentityObjectIntMap<K> - Class in com.esotericsoftware.kryo.util
-
An unordered map where identity comparison is used for the objects keys and the values are unboxed ints.
- IdentityObjectIntMap() - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with an initial capacity of 51 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.
- IdentityObjectIntMap(IdentityObjectIntMap<K>) - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map identical to the specified map.
- idToRegistration - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- ImmutableCollectionsSerializers - Class in com.esotericsoftware.kryo.serializers
-
Serializers for
ImmutableCollections
, Are added as default serializers for java >= 9. - ImmutableCollectionsSerializers() - Constructor for class com.esotericsoftware.kryo.serializers.ImmutableCollectionsSerializers
- ImmutableSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
A serializer which has
Serializer.setImmutable(boolean)
set to true. - ImmutableSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.ImmutableSerializer
- incr(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- indexOf(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Called when
FieldSerializer.getFields()
andFieldSerializer.getCopyFields()
have been repopulated. - initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- input - Variable in class com.esotericsoftware.kryo.io.KryoDataInput
- Input - Class in com.esotericsoftware.kryo.io
-
An InputStream that reads data from a byte[] and optionally fills the byte[] from another InputStream as needed.
- Input() - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates an uninitialized Input,
Input.setBuffer(byte[])
must be called before the Input is used. - Input(byte[]) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte[] buffer.
- Input(byte[], int, int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte[] buffer.
- Input(int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte[] buffer.
- 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 with the specified buffer size.
- InputChunked - Class in com.esotericsoftware.kryo.io
-
An
Input
that reads lengths and chunks of data from another OutputStream, allowing chunks to be skipped. - InputChunked() - Constructor for class com.esotericsoftware.kryo.io.InputChunked
- InputChunked(int) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
- InputChunked(InputStream) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
- InputChunked(InputStream, int) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
- inputStream - Variable in class com.esotericsoftware.kryo.io.Input
- insert(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
- INSTANCE - Static variable in class com.esotericsoftware.kryo.util.NoGenerics
- InstantSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.InstantSerializer
- 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[], int, 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.
- intArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- IntArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
- intLength(int, boolean) - 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 where the keys are unboxed ints and values are objects.
- IntMap() - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with an initial capacity of 51 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.
- IntMap(IntMap<? extends V>) - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map identical to the specified map.
- IntMap.Entries<V> - Class in com.esotericsoftware.kryo.util
- IntMap.Entry<V> - Class in com.esotericsoftware.kryo.util
- IntMap.Keys - Class in com.esotericsoftware.kryo.util
- IntMap.Values<V> - Class in com.esotericsoftware.kryo.util
- IntSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.IntSerializer
- isAndroid - Static variable in class com.esotericsoftware.kryo.util.Util
- isAscii(String) - Static method in class com.esotericsoftware.kryo.util.Util
- isAssignableTo(Class<?>, Class<?>) - Static method in class com.esotericsoftware.kryo.util.Util
- isClassAvailable(String) - Static method in class com.esotericsoftware.kryo.util.Util
- isClosure(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns true if the specified type is a closure.
- isEmpty() - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns true if the map is empty.
- isEmpty() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Returns true if the map is empty.
- isEmpty() - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns true if the map is empty.
- isEnum(Class) - Static method 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
- isNewDirectBufferAvailable() - Static method in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
-
Returns true if
UnsafeUtil.newDirectBuffer(long, int)
can be called. - isRegistrationRequired() - Method in class com.esotericsoftware.kryo.Kryo
- isSameLocale(Locale, String, String, String) - Static method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- isSupported(Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.BaseSerializerFactory
- isSupported(Class) - Method in interface com.esotericsoftware.kryo.SerializerFactory
-
Returns true if this factory can create a serializer for the specified type.
- isTypeNameAscii() - Method in class com.esotericsoftware.kryo.Registration
- 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.CuckooObjectMap.Entries
- iterator() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Keys
- iterator() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Values
- iterator() - Method in class com.esotericsoftware.kryo.util.IntMap.Entries
- iterator() - Method in class com.esotericsoftware.kryo.util.IntMap
- iterator() - Method in class com.esotericsoftware.kryo.util.IntMap.Values
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Entries
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Keys
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Values
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Entries
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap
- 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.CuckooObjectMap.Entry
- key - Variable in class com.esotericsoftware.kryo.util.IntMap.Entry
- key - Variable in class com.esotericsoftware.kryo.util.ObjectIntMap.Entry
- key - Variable in class com.esotericsoftware.kryo.util.ObjectMap.Entry
- keyClass() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
- keys() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Returns an iterator for the keys in the map.
- keys() - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns an iterator for the keys in the map.
- keys() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
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(CuckooObjectMap<K, ?>) - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap.Keys
- Keys(IntMap) - Constructor for class com.esotericsoftware.kryo.util.IntMap.Keys
- Keys(ObjectIntMap<K>) - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap.Keys
- Keys(ObjectMap<K, ?>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Keys
- keysCanBeNull() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
-
Indicates if keys can be null
- keySerializer() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
-
The key serializer class, which will be created using the
MapSerializer.BindMap.keySerializerFactory()
. - keySerializerFactory() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
-
The factory used to create the key serializer.
- kryo - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- kryo - Variable in class com.esotericsoftware.kryo.util.HashMapReferenceResolver
- 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 references disabled. - 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.
- KryoDataInput - Class in com.esotericsoftware.kryo.io
- KryoDataInput(Input) - Constructor for class com.esotericsoftware.kryo.io.KryoDataInput
- KryoDataOutput - Class in com.esotericsoftware.kryo.io
-
A
DataOutput
which writes data to anOutput
. - KryoDataOutput(Output) - Constructor for class com.esotericsoftware.kryo.io.KryoDataOutput
- 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
- KryoObjectInput - Class in com.esotericsoftware.kryo.io
-
An
ObjectInput
which reads data from anInput
. - KryoObjectInput(Kryo, Input) - Constructor for class com.esotericsoftware.kryo.io.KryoObjectInput
- KryoObjectOutput - Class in com.esotericsoftware.kryo.io
-
An
ObjectOutput
which writes data to anOutput
. - KryoObjectOutput(Kryo, Output) - Constructor for class com.esotericsoftware.kryo.io.KryoObjectOutput
- 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
- lastIndexOf(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- limit - Variable in class com.esotericsoftware.kryo.io.Input
- 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
- LocalDateSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalDateSerializer
- LocalDateTimeSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalDateTimeSerializer
- LocaleSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- LocalTimeSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalTimeSerializer
- log(String, FieldSerializer.CachedField, int) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- log(String, Object, int) - Static method in class com.esotericsoftware.kryo.util.Util
-
Logs a message about an object.
- longArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- LongArraySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
- longLength(int, boolean) - 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
-
Creates a reference resolver with a default maximum capacity of 2048
- MapReferenceResolver(int) - Constructor for class com.esotericsoftware.kryo.util.MapReferenceResolver
-
Creates a reference resolver with the specified maximum capacity.
- MapSerializer<T extends Map> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects that implement the
Map
interface. - MapSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.MapSerializer
- MapSerializer.BindMap - Annotation Type in com.esotericsoftware.kryo.serializers
- mask - Variable in class com.esotericsoftware.kryo.util.IntMap
-
A bitmask used to confine hashcodes to the size of the table.
- mask - Variable in class com.esotericsoftware.kryo.util.ObjectIntMap
-
A bitmask used to confine hashcodes to the size of the table.
- mask - Variable in class com.esotericsoftware.kryo.util.ObjectMap
-
A bitmask used to confine hashcodes to the size of the table.
- maxArraySize - Static variable in class com.esotericsoftware.kryo.util.Util
- maxCapacity - Variable in class com.esotericsoftware.kryo.io.Output
- MonthDaySerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.MonthDaySerializer
- mul(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
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. - newDirectBuffer(long, int) - Static method in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
-
Create a ByteBuffer that uses the specified off-heap memory address instead of allocating a new one.
- newFactory(Class<T>, Class<? extends Serializer>) - Static method in class com.esotericsoftware.kryo.util.Util
- 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.
- newInstantiatorOf(Class) - Method in class com.esotericsoftware.kryo.util.DefaultInstantiatorStrategy
- newSerializer(Kryo, Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.CompatibleFieldSerializerFactory
- newSerializer(Kryo, Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.FieldSerializerFactory
- newSerializer(Kryo, Class) - Method in interface com.esotericsoftware.kryo.SerializerFactory
-
Creates and configures a new serializer.
- newSerializer(Kryo, Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.ReflectionSerializerFactory
- newSerializer(Kryo, Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.SingletonSerializerFactory
- newSerializer(Kryo, Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.TaggedFieldSerializerFactory
- newSerializer(Kryo, Class) - Method in class com.esotericsoftware.kryo.SerializerFactory.VersionFieldSerializerFactory
- newSerializer(Kryo, Class<T>, Class) - Static method in class com.esotericsoftware.kryo.SerializerFactory.ReflectionSerializerFactory
-
Creates a new instance of the specified serializer for serializing the specified class.
- next() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Entries
-
Note the same entry instance is returned each time this method is called.
- next() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Keys
- next() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Values
- next() - Method in class com.esotericsoftware.kryo.util.IntMap.Entries
-
Note the same entry instance is returned each time this method is called.
- next() - Method in class com.esotericsoftware.kryo.util.IntMap.Keys
- next() - Method in class com.esotericsoftware.kryo.util.IntMap.Values
- next() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Entries
-
Note the same entry instance is returned each time this method is called.
- next() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Keys
- next() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.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
- nextChunk() - Method in class com.esotericsoftware.kryo.io.InputChunked
-
Advances the stream to the next chunk.
- nextGenericClass() - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- nextGenericClass() - Method in interface com.esotericsoftware.kryo.util.Generics
-
Resolves the first type parameter and returns the class, or null if it could not be resolved or there are no type parameters.
- nextGenericClass() - Method in class com.esotericsoftware.kryo.util.NoGenerics
- nextGenericTypes() - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- nextGenericTypes() - Method in interface com.esotericsoftware.kryo.util.Generics
-
Returns the current type parameters and
pushes
the next level of type parameters for subsquent calls. - nextGenericTypes() - Method in class com.esotericsoftware.kryo.util.NoGenerics
- nextNameId - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
- nextPowerOfTwo(int) - Static method in class com.esotericsoftware.kryo.util.CuckooObjectMap
- nextPowerOfTwo(int) - Static method in class com.esotericsoftware.kryo.util.ObjectMap
- nextReadId(Class) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Reserves the ID for the next object that will be read.
- nextReadId(Class) - Method in class com.esotericsoftware.kryo.util.HashMapReferenceResolver
- nextReadId(Class) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- nextReadId(Class) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- NoGenerics - Class in com.esotericsoftware.kryo.util
-
Implementation of
Generics
that does not store generic type arguments and actual classes for type variables. - NOT_NULL - Static variable in class com.esotericsoftware.kryo.Kryo
- notEmpty() - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns true if the map has one or more items.
- notEmpty() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Returns true if the map has one or more items.
- notEmpty() - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns true if the map has one or more items.
- Null - Annotation Type in com.esotericsoftware.kryo.util
-
An element with this annotation claims that the element may have a
null
value. - NULL - Static variable in class com.esotericsoftware.kryo.Kryo
O
- ObjectArraySerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
- ObjectIntMap<K> - Class in com.esotericsoftware.kryo.util
-
An unordered map where the keys are objects and the values are unboxed ints.
- ObjectIntMap() - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap
-
Creates a new map with an initial capacity of 51 and a load factor of 0.8.
- ObjectIntMap(int) - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap
-
Creates a new map with a load factor of 0.8.
- ObjectIntMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap
-
Creates a new map with the specified initial capacity and load factor.
- ObjectIntMap(ObjectIntMap<? extends K>) - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap
-
Creates a new map identical to the specified map.
- ObjectIntMap.Entries<K> - Class in com.esotericsoftware.kryo.util
- ObjectIntMap.Entry<K> - Class in com.esotericsoftware.kryo.util
- ObjectIntMap.Keys<K> - Class in com.esotericsoftware.kryo.util
- ObjectIntMap.Values - Class in com.esotericsoftware.kryo.util
- ObjectMap<K,V> - Class in com.esotericsoftware.kryo.util
-
An unordered map where the keys and values are objects.
- ObjectMap() - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with an initial capacity of 51 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(ObjectMap<? extends K, ? extends V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map identical to the specified map.
- 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
- obtain() - Method in class com.esotericsoftware.kryo.util.Pool
-
Returns an object from this pool.
- OffsetDateTimeSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.OffsetDateTimeSerializer
- OffsetTimeSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.OffsetTimeSerializer
- optimizePositive() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Bind
- optional(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Fills the buffer with at least the number of bytes specified, if possible.
- optional(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Fills the buffer with at least the number of bytes specified, if possible.
- OptionalDoubleSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalDoubleSerializer
- OptionalIntSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalIntSerializer
- OptionalLongSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalLongSerializer
- OptionalSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalSerializer
- OptionalSerializers - Class in com.esotericsoftware.kryo.serializers
- OptionalSerializers() - Constructor for class com.esotericsoftware.kryo.serializers.OptionalSerializers
- OptionalSerializers.OptionalDoubleSerializer - Class in com.esotericsoftware.kryo.serializers
- OptionalSerializers.OptionalIntSerializer - Class in com.esotericsoftware.kryo.serializers
- OptionalSerializers.OptionalLongSerializer - Class in com.esotericsoftware.kryo.serializers
- OptionalSerializers.OptionalSerializer - Class in com.esotericsoftware.kryo.serializers
- ordered - Variable in class com.esotericsoftware.kryo.util.IntArray
- output - Variable in class com.esotericsoftware.kryo.io.KryoDataOutput
- Output - Class in com.esotericsoftware.kryo.io
-
An OutputStream that writes data to a byte[] and optionally flushes to another OutputStream.
- Output() - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates an uninitialized Output,
Output.setBuffer(byte[], int)
must be called before the Output is used. - Output(byte[]) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte[].
- Output(byte[], int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte[].
- Output(int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte[].
- Output(int, int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte[].
- 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 with the specified buffer size.
- OutputChunked - Class in com.esotericsoftware.kryo.io
-
An
Output
that writes the length before each flush. - OutputChunked() - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
- OutputChunked(int) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
- OutputChunked(OutputStream) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
- OutputChunked(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
- outputStream - Variable in class com.esotericsoftware.kryo.io.Output
P
- peek() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Returns the last item.
- PeriodSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.PeriodSerializer
- place(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns an index >= 0 and <=
IntMap.mask
for the specifieditem
. - place(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
- place(K) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
- place(K) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Returns an index >= 0 and <=
ObjectIntMap.mask
for the specifieditem
. - place(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns an index >= 0 and <=
ObjectMap.mask
for the specifieditem
. - Pool<T> - Class in com.esotericsoftware.kryo.util
-
A pool of objects that can be reused to avoid allocations.
- Pool(boolean, boolean) - Constructor for class com.esotericsoftware.kryo.util.Pool
-
Creates a pool with no maximum.
- Pool(boolean, boolean, int) - Constructor for class com.esotericsoftware.kryo.util.Pool
- Pool.Poolable - Interface in com.esotericsoftware.kryo.util
-
Objects implementing this interface will have
Pool.Poolable.reset()
called when passed toPool.free(Object)
. - pop() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes and returns the last item.
- popGenericType() - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- popGenericType() - Method in interface com.esotericsoftware.kryo.util.Generics
-
Removes the generic types being tracked since the corresponding
Generics.pushGenericType(GenericType)
. - popGenericType() - Method in class com.esotericsoftware.kryo.util.NoGenerics
- popTypeVariables(int) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- popTypeVariables(int) - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- popTypeVariables(int) - Method in interface com.esotericsoftware.kryo.util.Generics
-
Removes the number of entries that were pushed by
Generics.pushTypeVariables(GenericsHierarchy, GenericType[])
. - popTypeVariables(int) - Method in class com.esotericsoftware.kryo.util.NoGenerics
- pos(int) - Static method in class com.esotericsoftware.kryo.util.Util
- position - Variable in class com.esotericsoftware.kryo.io.Input
- position - Variable in class com.esotericsoftware.kryo.io.Output
- 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.
- PriorityQueueSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.PriorityQueueSerializer
- pushGenericType(Generics.GenericType) - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- pushGenericType(Generics.GenericType) - Method in interface com.esotericsoftware.kryo.util.Generics
-
Sets the type that is currently being serialized.
- pushGenericType(Generics.GenericType) - Method in class com.esotericsoftware.kryo.util.NoGenerics
- pushTypeVariables() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Prepares the type variables for the serialized type.
- pushTypeVariables(Generics.GenericsHierarchy, Generics.GenericType[]) - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- pushTypeVariables(Generics.GenericsHierarchy, Generics.GenericType[]) - Method in interface com.esotericsoftware.kryo.util.Generics
-
Stores the types of the type parameters for the specified class hierarchy.
- pushTypeVariables(Generics.GenericsHierarchy, Generics.GenericType[]) - Method in class com.esotericsoftware.kryo.util.NoGenerics
- put(int, V) - Method in class com.esotericsoftware.kryo.util.IntMap
- put(K, int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Doesn't return a value, unlike other maps.
- put(K, V) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Returns the old value associated with the specified key, or null.
- put(K, V) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Returns the old value associated with the specified key, or null.
- putAll(CuckooObjectMap<K, V>) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
- putAll(IntMap<? extends V>) - Method in class com.esotericsoftware.kryo.util.IntMap
- putAll(ObjectIntMap<? extends K>) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- putAll(ObjectMap<? extends K, ? extends V>) - Method in class com.esotericsoftware.kryo.util.ObjectMap
R
- read() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- 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() - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
- read() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- read() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- read(byte[]) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- 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[]) - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
- read(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- 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(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
- 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.ClosureSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.FloatArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ArraysAsListSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BitSetSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.VoidSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.EnumNameSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.ExternalizableSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.JavaSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalDoubleSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalIntSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalLongSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.DurationSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.InstantSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalDateSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalDateTimeSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalTimeSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.MonthDaySerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.OffsetDateTimeSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.OffsetTimeSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.PeriodSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.YearMonthSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.YearSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.ZonedDateTimeSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.ZoneIdSerializer
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.ZoneOffsetSerializer
- read(Kryo, Input, Class<? extends KryoSerializable>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.KryoSerializableSerializer
- read(Kryo, Input, Class<? extends Boolean>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BooleanSerializer
- read(Kryo, Input, Class<? extends Byte>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ByteSerializer
- read(Kryo, Input, Class<? extends Character>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharSerializer
- read(Kryo, Input, Class<? extends Class>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ClassSerializer
- read(Kryo, Input, Class<? extends Double>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DoubleSerializer
- read(Kryo, Input, Class<? extends Enum>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSerializer
- read(Kryo, Input, Class<? extends Float>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.FloatSerializer
- read(Kryo, Input, Class<? extends Integer>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.IntSerializer
- read(Kryo, Input, Class<? extends Long>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LongSerializer
- read(Kryo, Input, Class<? extends Short>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ShortSerializer
- read(Kryo, Input, Class<? extends String>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringSerializer
- read(Kryo, Input, Class<? extends StringBuffer>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
- read(Kryo, Input, Class<? extends StringBuilder>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
- read(Kryo, Input, Class<? extends BigDecimal>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigDecimalSerializer
- read(Kryo, Input, Class<? extends BigInteger>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigIntegerSerializer
- read(Kryo, Input, Class<? extends URL>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.URLSerializer
- read(Kryo, Input, Class<? extends Charset>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharsetSerializer
- read(Kryo, Input, Class<? extends Calendar>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- read(Kryo, Input, Class<? extends Collection>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyListSerializer
- read(Kryo, Input, Class<? extends Currency>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CurrencySerializer
- read(Kryo, Input, Class<? extends Date>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DateSerializer
- read(Kryo, Input, Class<? extends EnumSet>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
- read(Kryo, Input, Class<? extends List>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonListSerializer
- read(Kryo, Input, Class<? extends Locale>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- read(Kryo, Input, Class<? extends Map>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyMapSerializer
- read(Kryo, Input, Class<? extends Map>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
- read(Kryo, Input, Class<? extends Set>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptySetSerializer
- read(Kryo, Input, Class<? extends Set>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonSetSerializer
- read(Kryo, Input, Class<? extends TimeZone>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TimeZoneSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.Serializer
-
Reads bytes and returns a new object of the specified concrete type.
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.BeanSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.RecordSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- read(Kryo, Input, Class<? extends T>) - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- readBoolean() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readBoolean() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1 byte boolean.
- readBoolean() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readBoolean() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readBoolean() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readBooleans(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readBooleans(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a boolean array in bulk.
- readBooleans(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readBooleans(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readByte() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readByte() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a single byte.
- readByte() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readByte() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readByte() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- 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.ByteBufferInput
- 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(byte[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readBytes(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readBytes(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the specified number of bytes into a new byte[].
- readBytes(Object, long, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Read count bytes and write them to the object at the given offset inside the in-memory representation of the object.
- readBytes(Object, long, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Read count bytes and write them to the object at the given offset inside the in-memory representation of the object.
- readByteUnsigned() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readByteUnsigned() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a byte as an int from 0 to 255.
- readByteUnsigned() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readByteUnsigned() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readChar() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readChar() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte char.
- readChar() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readChar() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readChar() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readChars(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readChars(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a char array in bulk.
- readChars(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readChars(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- 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.ByteBufferInput
- readDouble() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an 8 byte double.
- readDouble() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readDouble() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readDouble() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readDoubles(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readDoubles(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a double array in bulk.
- readDoubles(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readDoubles(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readFloat() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readFloat() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 4 byte float.
- readFloat() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readFloat() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readFloat() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readFloats(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readFloats(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a float array in bulk.
- readFloats(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readFloats(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readFully(byte[]) - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readFully(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readInt() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readInt() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 4 byte int.
- readInt() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readInt() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readInt() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readInt(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an int using fixed or variable length encoding, depending on
Input.setVariableLengthEncoding(boolean)
. - readInts(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readInts(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an int array in bulk.
- readInts(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readInts(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readInts(int, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an int array in bulk using fixed or variable length encoding, depending on
Input.setVariableLengthEncoding(boolean)
. - readLine() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
-
Deprecated.this method is not supported in this implementation.
- readLong() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readLong() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an 8 byte long.
- readLong() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readLong() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readLong() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readLong(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a long using fixed or variable length encoding, depending on
Input.setVariableLengthEncoding(boolean)
. - readLongs(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readLongs(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a long array in bulk.
- readLongs(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readLongs(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readLongs(int, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an int array in bulk using fixed or variable length encoding, depending on
Input.setVariableLengthEncoding(boolean)
. - readName(Input) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- readObject() - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
- 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.HashMapReferenceResolver
- readObjects - Variable in class com.esotericsoftware.kryo.util.MapReferenceResolver
- readShort() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readShort() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte short.
- readShort() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readShort() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readShort() - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readShorts(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readShorts(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a short array in bulk.
- readShorts(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- readShorts(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeInput
- readShortUnsigned() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- 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.ByteBufferInput
- 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.ByteBufferInput
- readStringBuilder() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the length and string of UTF8 characters, or null.
- readUnsignedByte() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readUnsignedShort() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- readUTF() - Method in class com.esotericsoftware.kryo.io.KryoDataInput
-
Reads the length and string of UTF8 characters, or null.
- readVarDouble(double, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-9 byte double with reduced precision.
- readVarFloat(float, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-5 byte float with reduced precision.
- readVarInt(boolean) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readVarInt(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-5 byte int.
- readVarIntFlag() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Reads the boolean part of a varint flag.
- readVarIntFlag() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the boolean part of a varint flag.
- readVarIntFlag(boolean) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Reads the 1-5 byte int part of a varint flag.
- readVarIntFlag(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the 1-5 byte int part of a varint flag.
- readVarLong(boolean) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- readVarLong(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-9 byte long.
- RecordSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializer for record classes.
- RecordSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.RecordSerializer
- 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.
- ReflectionSerializerFactory(Class<T>) - Constructor for class com.esotericsoftware.kryo.SerializerFactory.ReflectionSerializerFactory
- 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.CuckooObjectMap
- remove(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- remove(K, int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- removeAll(IntArray) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes from this array all of elements contained in the specified array.
- removeField(FieldSerializer.CachedField) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Removes a field so that it won't be serialized.
- removeField(FieldSerializer.CachedField) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- removeField(FieldSerializer.CachedField) - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- 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
- removeField(String) - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- removeIndex(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes and returns the item at the specified index.
- removeRange(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes the items between the specified indices, inclusive.
- removeValue(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- require(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- require(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- require(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Fills the buffer with at least the number of bytes specified.
- require(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Ensures the buffer is large enough to read the specified number of bytes.
- require(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- reset() - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Called by
Kryo.reset()
. - reset() - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- reset() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- reset() - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the position and total to zero.
- reset() - Method in class com.esotericsoftware.kryo.io.InputChunked
- reset() - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the position and total to 0.
- reset() - Method in class com.esotericsoftware.kryo.Kryo
-
Resets object graph state: unregistered class names, references to previously serialized or deserialized objects, the
original to copy map
, and thegraph context
. - 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.HashMapReferenceResolver
- reset() - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- reset() - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- reset() - Method in interface com.esotericsoftware.kryo.util.Pool.Poolable
-
Resets the object for reuse.
- reset(T) - Method in class com.esotericsoftware.kryo.util.Pool
-
Called when an object is freed to clear the state of the object for possible later reuse.
- resetPeak() - Method in class com.esotericsoftware.kryo.util.Pool
- resize(int) - Method in class com.esotericsoftware.kryo.util.IntArray
- resolve(Generics) - Method in class com.esotericsoftware.kryo.util.Generics.GenericType
-
If this type is a type variable, resolve it to a class.
- resolveType(Class, Class, Type) - Static method in class com.esotericsoftware.kryo.util.GenericsUtil
-
Returns the class for the specified type after replacing any type variables using the class hierarchy between the specified classes.
- resolveTypeParameters(Class, Class, Type) - Static method in class com.esotericsoftware.kryo.util.GenericsUtil
-
Resolves type variables for the type parameters of the specified type by using the class hierarchy between the specified classes.
- resolveTypeVariable(TypeVariable) - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- resolveTypeVariable(TypeVariable) - Method in interface com.esotericsoftware.kryo.util.Generics
-
Returns the class for the specified type variable, or null if it is not known.
- resolveTypeVariable(TypeVariable) - Method in class com.esotericsoftware.kryo.util.NoGenerics
- reverse() - Method in class com.esotericsoftware.kryo.util.IntArray
S
- seenObjects - Variable in class com.esotericsoftware.kryo.util.ListReferenceResolver
- serializer() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Bind
-
The serializer class to serialize the annotated field, which will be created by the
FieldSerializer.Bind.serializerFactory()
. - 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
- serializerFactory() - Method in annotation type com.esotericsoftware.kryo.DefaultSerializer
-
The factory used to create the serializer.
- serializerFactory() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Bind
-
The factory used to create the serializer.
- SerializerFactory<T extends Serializer> - Interface in com.esotericsoftware.kryo
-
Creates and configures serializers.
- SerializerFactory.BaseSerializerFactory<T extends Serializer> - Class in com.esotericsoftware.kryo
-
A serializer factory which always returns true for
SerializerFactory.BaseSerializerFactory.isSupported(Class)
. - SerializerFactory.CompatibleFieldSerializerFactory - Class in com.esotericsoftware.kryo
-
A serializer factory that returns new, configured
CompatibleFieldSerializer
instances. - SerializerFactory.FieldSerializerFactory - Class in com.esotericsoftware.kryo
-
A serializer factory that returns new, configured
FieldSerializer
instances. - SerializerFactory.ReflectionSerializerFactory<T extends Serializer> - Class in com.esotericsoftware.kryo
-
This factory instantiates new serializers of a given class via reflection.
- SerializerFactory.SingletonSerializerFactory<T extends Serializer> - Class in com.esotericsoftware.kryo
-
A serializer factory that always returns a given serializer instance rather than creating new serializer instances.
- SerializerFactory.TaggedFieldSerializerFactory - Class in com.esotericsoftware.kryo
-
A serializer factory that returns new, configured
TaggedFieldSerializer
instances. - SerializerFactory.VersionFieldSerializerFactory - Class in com.esotericsoftware.kryo
-
A serializer factory that returns new, configured
VersionFieldSerializer
instances. - 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.ByteBufferInput
-
Deprecated.
- setBuffer(byte[]) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Deprecated.
- 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 a new buffer to write to.
- setBuffer(byte[], int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Deprecated.
- setBuffer(byte[], int) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets a new buffer to write to.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Deprecated.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Allocates a new direct ByteBuffer with the specified bytes and sets it as the new buffer.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new buffer to read from.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.InputChunked
- setBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
-
Sets a new buffer to read from.
- setBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Sets a new buffer to write to.
- setBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
- setBuffer(ByteBuffer, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
-
Sets a new buffer to write to.
- setBuffer(ByteBuffer, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- 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
-
When false, it is assumed the field value can never be null.
- setChunkedEncoding(boolean) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
-
When true, fields are written with chunked encoding to allow unknown field data to be skipped.
- setChunkedEncoding(boolean) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
-
When true, fields are written with chunked encoding to allow unknown field data to be skipped.
- setChunkSize(int) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
-
The maximum size of each chunk for chunked encoding.
- setChunkSize(int) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
-
The maximum size of each chunk for chunked encoding.
- setClassLoader(ClassLoader) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the classloader to resolve unregistered class names to classes.
- setCompatible(boolean) - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer.VersionFieldSerializerConfig
-
When false, an exception is thrown when reading an object with a different version.
- setCompressionLevel(int) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
Default is 4.
- setCopyReferences(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true, when
Kryo.copy(Object)
and other copy methods encounter an object for the first time the object is copied and on subsequent encounters the copied object is used. - setCopyTransient(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
If false, when
Kryo.copy(Object)
is called all transient fields that are accessible will be ignored from being copied. - setDefaultSerializer(SerializerFactory) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the serializer factory to use when no
default serializers
match an object's type. - setDefaultSerializer(Class<? extends Serializer>) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the serializer to use when no
default serializers
match an object's type. - setElementClass(Class) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
The concrete class of the collection elements, or null if it is not known.
- 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
- setElementSerializer(Serializer) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
The serializer to be used for elements in collection, or null to use the serializer registered with
Kryo
for each element's type. - setExtendedFieldNames(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
When true, field names are prefixed by their declaring class.
- setFallbackInstantiatorStrategy(InstantiatorStrategy) - Method in class com.esotericsoftware.kryo.util.DefaultInstantiatorStrategy
- setFieldsAsAccessible(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
Controls which fields are serialized.
- setFieldsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
Sets the default value for
FieldSerializer.CachedField.setCanBeNull(boolean)
. - setFixedFieldTypes(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
Sets the default value for
FieldSerializer.CachedField.setValueClass(Class)
to the field's declared type. - setIgnoreSyntheticFields(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
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.
- setInput(Input) - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- setInputStream(InputStream) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- setInputStream(InputStream) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets an InputStream to read from when data in the buffer is exhausted.
- 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) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
The concrete class of the keys for this map, or null if it is not known.
- setKeyClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- setKeysCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- setKeySerializer(Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
The serializer to be used for the keys in this map, or null to use the serializer registered with
Kryo
for the type. - 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.HashMapReferenceResolver
- 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.ByteBufferInput
- setLimit(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the limit in the buffer which marks the end of the data that can be read.
- 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
- setOptimizedGenerics(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true (the default), Kryo attempts to use generic type information to optimize the serialized size.
- setOptimizePositive(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
When true, variable length int and long values are written with fewer bytes for positive values and more bytes for negative values.
- setOutput(Output) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- setOutputStream(OutputStream) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets a new OutputStream to flush data to when the buffer is full.
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the current position in the buffer where the next byte will be read.
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the current position in the buffer.
- setReadObject(int, Object) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Sets the ID for an object that has been read.
- setReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.HashMapReferenceResolver
- setReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
- setReadObject(int, Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
- setReadUnknownFieldData(boolean) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.CompatibleFieldSerializerConfig
-
When false and encountering an unknown field, an exception is thrown or, if
chunked encoding
is enabled, the data is skipped. - setReadUnknownTagData(boolean) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
-
When false and encountering an unknown tag, an exception is thrown or, if
chunked encoding
is enabled, the data is skipped. - 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
-
The serializer to be used for this field, or null to use the serializer registered with
Kryo
for the type. - setSerializeTransient(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
If set, transient fields will be serialized.
- setSize(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Sets the array size, leaving any values beyond the current size undefined.
- setTotal(long) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the total number of bytes read.
- setValueClass(Class) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
The concrete class of the values for this field, or null if it is not known.
- setValueClass(Class) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
The concrete class of the values for this map, or null if it is not known.
- setValueClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
- setValueClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- setValuesCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
- setValueSerializer(Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
The serializer to be used for this field, or null to use the serializer registered with
Kryo
for the type. - setVariableLengthEncoding(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
If false,
Input.readInt(boolean)
,Input.readLong(boolean)
,Input.readInts(int, boolean)
, andInput.readLongs(int, boolean)
will use fixed length encoding, which may be faster for some data. - setVariableLengthEncoding(boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
If false,
Output.writeInt(int, boolean)
,Output.writeLong(long, boolean)
,Output.writeInts(int[], int, int, boolean)
, andOutput.writeLongs(long[], int, int, boolean)
will use fixed length encoding, which may be faster for some data. - setVariableLengthEncoding(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
When true, variable length encoding is used for int or long fields.
- setVariableLengthEncoding(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.FieldSerializerConfig
-
When true, variable length values are used for int and long fields.
- setWarnUnregisteredClasses(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true, kryo writes a warn log entry when an unregistered class is encountered.
- shift - Variable in class com.esotericsoftware.kryo.util.IntMap
-
Used by
IntMap.place(int)
to bit shift the upper bits of along
into a usable range (>= 0 and <=IntMap.mask
). - shift - Variable in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Used by
ObjectIntMap.place(Object)
to bit shift the upper bits of along
into a usable range (>= 0 and <=ObjectIntMap.mask
). - shift - Variable in class com.esotericsoftware.kryo.util.ObjectMap
-
Used by
ObjectMap.place(Object)
to bit shift the upper bits of along
into a usable range (>= 0 and <=ObjectMap.mask
). - shortArrayBaseOffset - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- 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.
- shrink(int) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Reduces the size of the backing arrays to be the specified capacity or less.
- shrink(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
Reduces the size of the backing arrays to be the specified capacity / loadFactor, or less.
- shrink(int) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
Reduces the size of the backing arrays to be the specified capacity / loadFactor, or less.
- shrink(int) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
Reduces the size of the backing arrays to be the specified capacity / loadFactor, or less.
- simpleName(Class, Generics.GenericType) - Static method in class com.esotericsoftware.kryo.util.Util
- simpleName(Type) - Static method in class com.esotericsoftware.kryo.util.Util
- SingletonSerializerFactory(T) - Constructor for class com.esotericsoftware.kryo.SerializerFactory.SingletonSerializerFactory
- size - Variable in class com.esotericsoftware.kryo.util.CuckooObjectMap
- 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.ObjectIntMap
- size - Variable in class com.esotericsoftware.kryo.util.ObjectMap
- skip(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInput
- 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.ByteBufferInput
- skip(long) - Method in class com.esotericsoftware.kryo.io.Input
-
Discards the specified number of bytes.
- skip(long) - Method in class com.esotericsoftware.kryo.io.KryoObjectInput
- skipBytes(int) - Method in class com.esotericsoftware.kryo.io.KryoDataInput
- sort() - Method in class com.esotericsoftware.kryo.util.IntArray
- SPAIN - Static variable in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- SPANISH - Static variable in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- 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
- tableSize(int, float) - Static method in class com.esotericsoftware.kryo.util.ObjectMap
- TaggedFieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment for fields that have a
@Tag(int)
annotation, providing backward compatibility and optional forward compatibility. - TaggedFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- TaggedFieldSerializer(Kryo, Class, TaggedFieldSerializer.TaggedFieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- TaggedFieldSerializer.Tag - Annotation Type in com.esotericsoftware.kryo.serializers
-
Marks a field for serialization.
- TaggedFieldSerializer.TaggedFieldSerializerConfig - Class in com.esotericsoftware.kryo.serializers
-
Configuration for TaggedFieldSerializer instances.
- TaggedFieldSerializerConfig() - Constructor for class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.TaggedFieldSerializerConfig
- TaggedFieldSerializerFactory() - Constructor for class com.esotericsoftware.kryo.SerializerFactory.TaggedFieldSerializerFactory
- TaggedFieldSerializerFactory(TaggedFieldSerializer.TaggedFieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.SerializerFactory.TaggedFieldSerializerFactory
- TimeSerializers - Class in com.esotericsoftware.kryo.serializers
-
Serializers for java.time.*, are added as default serializers if java version is >= 8.
- TimeSerializers() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers
- TimeSerializers.DurationSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.InstantSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.LocalDateSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.LocalDateTimeSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.LocalTimeSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.MonthDaySerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.OffsetDateTimeSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.OffsetTimeSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.PeriodSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.YearMonthSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.YearSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.ZonedDateTimeSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.ZoneIdSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeSerializers.ZoneOffsetSerializer - Class in com.esotericsoftware.kryo.serializers
- TimeZoneSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.TimeZoneSerializer
- toArray() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Keys
-
Returns a new array containing the remaining keys.
- toArray() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.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.IntMap.Keys
-
Returns a new array containing the remaining keys.
- toArray() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Values
-
Returns a new array containing the remaining values.
- toArray(IntArray) - Method in class com.esotericsoftware.kryo.util.IntMap.Keys
-
Adds the remaining values to the specified array.
- toArray(IntArray) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Values
-
Adds the remaining values to the specified array.
- toArray(ArrayList<V>) - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap.Values
-
Adds the remaining values to the specified array.
- toBytes() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- toBytes() - Method in class com.esotericsoftware.kryo.io.Output
-
Allocates and returns a new byte[] containing the bytes currently in the buffer between 0 and
Output.position()
. - toList() - Method in class com.esotericsoftware.kryo.util.IntMap.Values
-
Returns a new list containing the remaining values.
- toList() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Keys
-
Returns a new list containing the remaining keys.
- toList() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
-
Returns a new list containing the remaining keys.
- toList() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
-
Returns a new list containing the remaining keys.
- toList(T) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Keys
-
Adds the remaining keys to the list.
- toList(T) - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
-
Adds the remaining keys to the list.
- toList(T) - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
-
Adds the remaining keys to the list.
- 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.CuckooObjectMap.Entry
- toString() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
- toString() - Method in class com.esotericsoftware.kryo.util.DefaultGenerics
- toString() - Method in class com.esotericsoftware.kryo.util.Generics.GenericsHierarchy
- toString() - Method in class com.esotericsoftware.kryo.util.Generics.GenericType
- toString() - Method in class com.esotericsoftware.kryo.util.IntArray
- toString() - Method in class com.esotericsoftware.kryo.util.IntMap.Entry
- toString() - Method in class com.esotericsoftware.kryo.util.IntMap
- toString() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap.Entry
- toString() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- 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
- toString(String) - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
- toString(String) - Method in class com.esotericsoftware.kryo.util.ObjectMap
- total - Variable in class com.esotericsoftware.kryo.io.Input
- total - Variable in class com.esotericsoftware.kryo.io.Output
- total() - Method in class com.esotericsoftware.kryo.io.Input
-
Returns the total 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
- TreeSetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeSetSerializer
- truncate(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Reduces the size of the array to the specified size.
U
- unregister(int) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Removes the registration for the specified ID.
- unregister(int) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
- unregisteredClassMessage(Class) - Method in class com.esotericsoftware.kryo.Kryo
- unsafe - Static variable in class com.esotericsoftware.kryo.unsafe.UnsafeUtil
-
The sun.misc.Unsafe instance, or null if Unsafe is unavailable.
- unsafe - Static variable in class com.esotericsoftware.kryo.util.Util
-
True if Unsafe is available.
- UnsafeByteBufferInput - Class in com.esotericsoftware.kryo.unsafe
-
A
ByteBufferInput
that reads data from direct ByteBuffer (off-heap memory) using sun.misc.Unsafe. - UnsafeByteBufferInput() - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates an uninitialized Input,
setBuffer(ByteBuffer)
must be called before the Input is used. - UnsafeByteBufferInput(byte[]) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from a
ByteBuffer
which is filled with the specified bytes. - UnsafeByteBufferInput(byte[], int, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from a
ByteBuffer
which is filled with the specified bytes. - UnsafeByteBufferInput(int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from a direct
ByteBuffer
. - UnsafeByteBufferInput(long, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from a ByteBuffer representing the memory region at the specified address and size.
- UnsafeByteBufferInput(InputStream) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from an InputStream with a buffer size of 4096.
- UnsafeByteBufferInput(InputStream, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from an InputStream with the specified buffer size.
- UnsafeByteBufferInput(ByteBuffer) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferInput
-
Creates a new Input for reading from a ByteBuffer.
- UnsafeByteBufferOutput - Class in com.esotericsoftware.kryo.unsafe
-
A
ByteBufferOutput
that writes data to a direct ByteBuffer (off-heap memory) using sun.misc.Unsafe. - UnsafeByteBufferOutput() - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Creates an uninitialized Output,
ByteBufferOutput.setBuffer(ByteBuffer)
must be called before the Output is used. - UnsafeByteBufferOutput(int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Creates a new Output for writing to a direct
ByteBuffer
. - UnsafeByteBufferOutput(int, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Creates a new Output for writing to a direct ByteBuffer.
- UnsafeByteBufferOutput(long, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Creates a new Output for writing to a ByteBuffer representing the memory region at the specified address and size.
- UnsafeByteBufferOutput(OutputStream) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Creates a new Output for writing to an OutputStream.
- UnsafeByteBufferOutput(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Creates a new Output for writing to an OutputStream with the specified buffer size.
- UnsafeInput - Class in com.esotericsoftware.kryo.unsafe
-
An
Input
that reads data from a byte[] using sun.misc.Unsafe. - UnsafeInput() - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Creates an uninitialized Input,
Input.setBuffer(byte[])
must be called before the Input is used. - UnsafeInput(byte[]) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Creates a new Input for reading from a byte[] buffer.
- UnsafeInput(byte[], int, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Creates a new Input for reading from a byte[] buffer.
- UnsafeInput(int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Creates a new Input for reading from a byte[] buffer.
- UnsafeInput(InputStream) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Creates a new Input for reading from an InputStream with a buffer size of 4096.
- UnsafeInput(InputStream, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeInput
-
Creates a new Input for reading from an InputStream with the specified buffer size.
- UnsafeOutput - Class in com.esotericsoftware.kryo.unsafe
-
An
Output
that reads data using sun.misc.Unsafe. - UnsafeOutput() - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates an uninitialized Output,
Output.setBuffer(byte[], int)
must be called before the Output is used. - UnsafeOutput(byte[]) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates a new Output for writing to a byte[].
- UnsafeOutput(byte[], int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates a new Output for writing to a byte[].
- UnsafeOutput(int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates a new Output for writing to a byte[].
- UnsafeOutput(int, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates a new Output for writing to a byte[].
- UnsafeOutput(OutputStream) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates a new Output for writing to an OutputStream.
- UnsafeOutput(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Creates a new Output for writing to an OutputStream with the specified buffer size.
- UnsafeUtil - Class in com.esotericsoftware.kryo.unsafe
-
Utility methods for using
Unsafe
. - UnsafeUtil() - Constructor for class com.esotericsoftware.kryo.unsafe.UnsafeUtil
- updateFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Must be called after
FieldSerializer.getFieldSerializerConfig()
settings are changed to repopulate the cached fields. - URLSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.URLSerializer
- 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.HashMapReferenceResolver
-
Returns false for all primitive wrappers and enums.
- useReferences(Class) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
Returns false for all primitive wrappers and enums.
- useReferences(Class) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
Returns false for all primitive wrappers and enums.
- 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.CuckooObjectMap.Entry
- value - Variable in class com.esotericsoftware.kryo.util.IntMap.Entry
- value - Variable in class com.esotericsoftware.kryo.util.ObjectIntMap.Entry
- value - Variable in class com.esotericsoftware.kryo.util.ObjectMap.Entry
- value() - Method in annotation type com.esotericsoftware.kryo.DefaultSerializer
-
The serializer class to serialize the annotated type, which will be created by the
DefaultSerializer.serializerFactory()
. - value() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Optional
- value() - Method in annotation type com.esotericsoftware.kryo.serializers.TaggedFieldSerializer.Tag
- value() - Method in annotation type com.esotericsoftware.kryo.serializers.VersionFieldSerializer.Since
-
Version of annotated field, default is 0, and must be incremental to maintain compatibility.
- valueClass() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Bind
- valueClass() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
- values() - Method in class com.esotericsoftware.kryo.util.CuckooObjectMap
-
Returns an iterator for the values in the map.
- values() - Method in class com.esotericsoftware.kryo.util.IntMap
-
Returns an iterator for the values in the map.
- values() - Method in class com.esotericsoftware.kryo.util.ObjectIntMap
-
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(CuckooObjectMap<?, V>) - Constructor for class com.esotericsoftware.kryo.util.CuckooObjectMap.Values
- Values(IntMap<V>) - Constructor for class com.esotericsoftware.kryo.util.IntMap.Values
- Values(ObjectIntMap<?>) - Constructor for class com.esotericsoftware.kryo.util.ObjectIntMap.Values
- Values(ObjectMap<?, V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Values
- valuesCanBeNull() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
-
Indicates if values can be null
- valueSerializer() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
-
The value serializer class, which will be created using the
MapSerializer.BindMap.valueSerializerFactory()
. - valueSerializerFactory() - Method in annotation type com.esotericsoftware.kryo.serializers.MapSerializer.BindMap
-
The factory used to create the value serializer.
- varEncoding - Variable in class com.esotericsoftware.kryo.io.Input
- varEncoding - Variable in class com.esotericsoftware.kryo.io.Output
- variableLengthEncoding() - Method in annotation type com.esotericsoftware.kryo.serializers.FieldSerializer.Bind
- varIntLength(int, boolean) - Static method in class com.esotericsoftware.kryo.io.Output
-
Returns the number of bytes that would be written with
Output.writeVarInt(int, boolean)
. - varLongLength(long, boolean) - Static method in class com.esotericsoftware.kryo.io.Output
-
Returns the number of bytes that would be written with
Output.writeVarLong(long, boolean)
. - VersionFieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment, providing backward compatibility with minimal overhead.
- VersionFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- VersionFieldSerializer(Kryo, Class, VersionFieldSerializer.VersionFieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- VersionFieldSerializer.Since - Annotation Type in com.esotericsoftware.kryo.serializers
-
Incremental modification of serialized objects must add
VersionFieldSerializer.Since
for new fields. - VersionFieldSerializer.VersionFieldSerializerConfig - Class in com.esotericsoftware.kryo.serializers
-
Configuration for VersionFieldSerializer instances.
- VersionFieldSerializerConfig() - Constructor for class com.esotericsoftware.kryo.serializers.VersionFieldSerializer.VersionFieldSerializerConfig
- VersionFieldSerializerFactory() - Constructor for class com.esotericsoftware.kryo.SerializerFactory.VersionFieldSerializerFactory
- VersionFieldSerializerFactory(VersionFieldSerializer.VersionFieldSerializerConfig) - Constructor for class com.esotericsoftware.kryo.SerializerFactory.VersionFieldSerializerFactory
- VoidSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.DefaultSerializers.VoidSerializer
W
- with(int...) - Static method in class com.esotericsoftware.kryo.util.IntArray
- write(byte[]) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- write(byte[]) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- write(byte[]) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- write(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- write(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- write(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- write(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- write(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- write(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
- write(int) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- write(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a byte.
- write(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- write(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- 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, Enum) - Method in class com.esotericsoftware.kryo.serializers.EnumNameSerializer
- 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.ClosureSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.VoidSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
- write(Kryo, Output, Object) - Method in class com.esotericsoftware.kryo.serializers.ExternalizableSerializer
- 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, URL) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.URLSerializer
- write(Kryo, Output, Charset) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharsetSerializer
- write(Kryo, Output, Duration) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.DurationSerializer
- write(Kryo, Output, Instant) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.InstantSerializer
- write(Kryo, Output, LocalDate) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalDateSerializer
- write(Kryo, Output, LocalDateTime) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalDateTimeSerializer
- write(Kryo, Output, LocalTime) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.LocalTimeSerializer
- write(Kryo, Output, MonthDay) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.MonthDaySerializer
- write(Kryo, Output, OffsetDateTime) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.OffsetDateTimeSerializer
- write(Kryo, Output, OffsetTime) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.OffsetTimeSerializer
- write(Kryo, Output, Period) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.PeriodSerializer
- write(Kryo, Output, Year) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.YearSerializer
- write(Kryo, Output, YearMonth) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.YearMonthSerializer
- write(Kryo, Output, ZonedDateTime) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.ZonedDateTimeSerializer
- write(Kryo, Output, ZoneId) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.ZoneIdSerializer
- write(Kryo, Output, ZoneOffset) - Method in class com.esotericsoftware.kryo.serializers.TimeSerializers.ZoneOffsetSerializer
- write(Kryo, Output, BitSet) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BitSetSerializer
- write(Kryo, Output, Calendar) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
- write(Kryo, Output, Collection) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyListSerializer
- 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, Locale) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LocaleSerializer
- write(Kryo, Output, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyMapSerializer
- write(Kryo, Output, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
- write(Kryo, Output, Optional) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalSerializer
- write(Kryo, Output, OptionalDouble) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalDoubleSerializer
- write(Kryo, Output, OptionalInt) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalIntSerializer
- write(Kryo, Output, OptionalLong) - Method in class com.esotericsoftware.kryo.serializers.OptionalSerializers.OptionalLongSerializer
- write(Kryo, Output, Set) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptySetSerializer
- 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.CollectionSerializer
- 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.MapSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.RecordSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
- write(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.VersionFieldSerializer
- writeAscii(String) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- 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.ByteBufferOutput
- writeBoolean(boolean) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeBoolean(boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1 byte boolean.
- writeBoolean(boolean) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeBoolean(boolean) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeBooleans(boolean[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeBooleans(boolean[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a boolean array in bulk.
- writeBooleans(boolean[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeBooleans(boolean[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeByte(byte) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeByte(byte) - Method in class com.esotericsoftware.kryo.io.Output
- writeByte(byte) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeByte(byte) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeByte(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeByte(int) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeByte(int) - Method in class com.esotericsoftware.kryo.io.Output
- writeByte(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeByte(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeBytes(byte[]) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeBytes(byte[]) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- writeBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the bytes.
- writeBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeBytes(Object, long, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
-
Write count bytes to the byte buffer, reading from the given offset inside the in-memory representation of the object.
- writeBytes(Object, long, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
-
Write count bytes to the byte buffer, reading from the given offset inside the in-memory representation of the object.
- writeBytes(String) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeChar(char) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeChar(char) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 2 byte char.
- writeChar(char) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeChar(char) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeChar(int) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeChars(char[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeChars(char[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a char array in bulk.
- writeChars(char[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeChars(char[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeChars(String) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- 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.ByteBufferOutput
- writeDouble(double) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeDouble(double) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes an 8 byte double.
- writeDouble(double) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeDouble(double) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeDoubles(double[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeDoubles(double[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a double array in bulk.
- writeDoubles(double[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeDoubles(double[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeFloat(float) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeFloat(float) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeFloat(float) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 4 byte float.
- writeFloat(float) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeFloat(float) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeFloats(float[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeFloats(float[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a float array in bulk.
- writeFloats(float[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeFloats(float[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeHeader(Kryo, Output, ConcurrentSkipListMap) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ConcurrentSkipListMapSerializer
- writeHeader(Kryo, Output, PriorityQueue) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.PriorityQueueSerializer
- writeHeader(Kryo, Output, TreeMap) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
- writeHeader(Kryo, Output, TreeSet) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeSetSerializer
- writeHeader(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
Can be overidden to write data needed for
CollectionSerializer.create(Kryo, Input, Class, int)
. - writeHeader(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
Can be overidden to write data needed for
MapSerializer.create(Kryo, Input, Class, int)
. - writeHeader(Kryo, Output, T) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
-
Can be overidden to write data needed for
FieldSerializer.create(Kryo, Input, Class)
. - writeInt(int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeInt(int) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeInt(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 4 byte int.
- writeInt(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeInt(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeInt(int, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Reads an int using fixed or variable length encoding, depending on
Output.setVariableLengthEncoding(boolean)
. - writeInts(int[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeInts(int[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes an int array in bulk.
- writeInts(int[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeInts(int[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeInts(int[], int, int, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes an int array in bulk using fixed or variable length encoding, depending on
Output.setVariableLengthEncoding(boolean)
. - writeLong(long) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeLong(long) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeLong(long) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes an 8 byte long.
- writeLong(long) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeLong(long) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeLong(long, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Reads a long using fixed or variable length encoding, depending on
Output.setVariableLengthEncoding(boolean)
. - writeLongs(long[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeLongs(long[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a long array in bulk.
- writeLongs(long[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeLongs(long[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeLongs(long[], int, int, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a long array in bulk using fixed or variable length encoding, depending on
Output.setVariableLengthEncoding(boolean)
. - 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.
- writeObject(Object) - Method in class com.esotericsoftware.kryo.io.KryoObjectOutput
- 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.ByteBufferOutput
- writeShort(int) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeShort(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 2 byte short.
- writeShort(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeShort(int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeShorts(short[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeShorts(short[], int, int) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a short array in bulk.
- writeShorts(short[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeByteBufferOutput
- writeShorts(short[], int, int) - Method in class com.esotericsoftware.kryo.unsafe.UnsafeOutput
- writeString(String) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeString(String) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes the length and string, or null.
- writeUTF(String) - Method in class com.esotericsoftware.kryo.io.KryoDataOutput
- writeVarDouble(double, double, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-9 byte double with reduced precision.
- writeVarFloat(float, float, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-5 byte float with reduced precision.
- writeVarInt(int, boolean) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeVarInt(int, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-5 byte int.
- writeVarIntFlag(boolean, int, boolean) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeVarIntFlag(boolean, int, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-5 byte int, encoding the boolean value with a bit flag.
- writeVarLong(long, boolean) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutput
- writeVarLong(long, boolean) - Method in class com.esotericsoftware.kryo.io.Output
-
Writes a 1-9 byte long.
- writtenObjects - Variable in class com.esotericsoftware.kryo.util.HashMapReferenceResolver
- writtenObjects - Variable in class com.esotericsoftware.kryo.util.MapReferenceResolver
Y
- YearMonthSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.YearMonthSerializer
- YearSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.YearSerializer
Z
- ZonedDateTimeSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.ZonedDateTimeSerializer
- ZoneIdSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.ZoneIdSerializer
- ZoneOffsetSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.TimeSerializers.ZoneOffsetSerializer
All Classes All Packages