- canReadInt() - Method in class com.esotericsoftware.kryo.io.Input
-
- canReadLong() - Method in class com.esotericsoftware.kryo.io.Input
-
- className(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the class formatted as a string.
- ClassResolver - Interface in com.esotericsoftware.kryo
-
Handles class registration, writing class identifiers to bytes, and reading class identifiers from bytes.
- classToNameId - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- classToRegistration - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- clear() - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the position and total to zero.
- clear() - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
- clear() - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
- clear() - Method in class com.esotericsoftware.kryo.util.IntArray
-
- clear() - Method in class com.esotericsoftware.kryo.util.IntMap
-
- clear() - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
- close() - Method in class com.esotericsoftware.kryo.io.Input
-
Closes the underlying InputStream, if any.
- close() - Method in class com.esotericsoftware.kryo.io.Output
-
Flushes any buffered bytes and closes the underlying OutputStream, if any.
- CollectionSerializer - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects that implement the Collection
interface.
- CollectionSerializer() - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- CollectionSerializer(Class, Serializer) - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- CollectionSerializer(Class, Serializer, boolean) - Constructor for class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- com.esotericsoftware.kryo - package com.esotericsoftware.kryo
-
- com.esotericsoftware.kryo.io - package com.esotericsoftware.kryo.io
-
- com.esotericsoftware.kryo.serializers - package com.esotericsoftware.kryo.serializers
-
- com.esotericsoftware.kryo.util - package com.esotericsoftware.kryo.util
-
- compare(FieldSerializer.CachedField, FieldSerializer.CachedField) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- CompatibleFieldSerializer<T> - Class in com.esotericsoftware.kryo.serializers
-
Serializes objects using direct field assignment, with limited support for forward and backward compatibility.
- CompatibleFieldSerializer(Kryo, Class) - Constructor for class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
-
- contains(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
- containsKey(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
- containsKey(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
- containsValue(Object, boolean) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
Returns true if the specified value is in the map.
- containsValue(int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Returns true if the specified value is in the map.
- containsValue(Object, boolean) - Method in class com.esotericsoftware.kryo.util.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(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.
- copy(Kryo) - Method in interface com.esotericsoftware.kryo.KryoCopyable
-
Returns a copy that has the same values as this object.
- 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, Object) - Method in class com.esotericsoftware.kryo.serializers.BlowfishSerializer
-
- copy(Kryo, Collection) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- 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, Object[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
-
- copy(Kryo, short[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
-
- copy(Kryo, String[]) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
-
- 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, StringBuffer) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
-
- copy(Kryo, StringBuilder) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
-
- copy(Kryo, Object) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
- copy(Object, Object) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- copy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- copy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- copyShallow(T) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a shallow copy of the object.
- copyShallow(T, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns a shallow copy of the object using the specified serializer.
- create(Kryo, Input, Class<Collection>) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- create(Kryo, Input, Class<Map>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
-
- create(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- create(Kryo, Input, Class<Map>) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- createCopy(Kryo, Collection) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- createCopy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TreeMapSerializer
-
- createCopy(Kryo, T) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- createCopy(Kryo, Map) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- get(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
- get(K, V) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
- get(K, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
- 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.ObjectMap
-
- getAcceptsNull() - Method in class com.esotericsoftware.kryo.Serializer
-
- getAndIncrement(K, int, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Returns the key's current value and increments the stored value.
- getBuffer() - Method in class com.esotericsoftware.kryo.io.Input
-
- getBuffer() - Method in class com.esotericsoftware.kryo.io.Output
-
Returns the buffer.
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
- getByteBuffer() - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
-
- getClassLoader() - Method in class com.esotericsoftware.kryo.Kryo
-
- getClassResolver() - Method in class com.esotericsoftware.kryo.Kryo
-
- getContext() - Method in class com.esotericsoftware.kryo.Kryo
-
Name/value pairs that are available to all serializers.
- getDefaultSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the best matching serializer for a class.
- getDepth() - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the number of child objects away from the object graph root.
- getDimensionCount(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the number of dimensions of an array.
- getElementClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the base element type of an n-dimensional array class.
- getField() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- getField(String) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Allows specific fields to be optimized.
- getFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- getGenerics(Type) - Static method in class com.esotericsoftware.kryo.Kryo
-
Returns the first level of classes or interfaces for a generic type.
- getGraphContext() - Method in class com.esotericsoftware.kryo.Kryo
-
Name/value pairs that are available to all serializers and are cleared after each object graph is serialized or
deserialized.
- getId() - Method in class com.esotericsoftware.kryo.Registration
-
Returns the registered class ID.
- getInputStream() - Method in class com.esotericsoftware.kryo.io.Input
-
- getInstantiator() - Method in class com.esotericsoftware.kryo.Registration
-
- getMessage() - Method in exception com.esotericsoftware.kryo.KryoException
-
- getNextRegistrationId() - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the lowest, next available integer ID.
- getOutputStream() - Method in class com.esotericsoftware.kryo.io.Output
-
- getReadObject(Class, int) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns the object for the specified ID.
- getReadObject(Class, int) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- getReadObject(Class, int) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- getReferenceResolver() - Method in class com.esotericsoftware.kryo.Kryo
-
- getReferences() - Method in class com.esotericsoftware.kryo.Kryo
-
- getRegistration(Class) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Returns the registration for the specified class, or null if the class is not registered.
- 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(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
- getRegistration(int) - Method in class com.esotericsoftware.kryo.Kryo
-
- getRegistration(Class) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- getRegistration(int) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- getSerializer(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns the serializer for the registration for the specified class.
- getSerializer() - Method in class com.esotericsoftware.kryo.Registration
-
- getType() - Method in class com.esotericsoftware.kryo.Registration
-
- getType() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- getWrapperClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the primitive wrapper class for a primitive class.
- getWrittenId(Object) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Returns an ID for the object if it has been written previously, otherwise returns -1.
- getWrittenId(Object) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- getWrittenId(Object) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- IdentityMap<K,V> - Class in com.esotericsoftware.kryo.util
-
An unordered map that uses identity comparison for keys.
- IdentityMap() - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- IdentityMap(int) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with a load factor of 0.8.
- IdentityMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap
-
Creates a new map with the specified initial capacity and load factor.
- IdentityMap.Entries<K,V> - Class in com.esotericsoftware.kryo.util
-
- IdentityMap.Entries(IdentityMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Entries
-
- IdentityMap.Entry<K,V> - Class in com.esotericsoftware.kryo.util
-
- IdentityMap.Entry() - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Entry
-
- IdentityMap.Keys<K> - Class in com.esotericsoftware.kryo.util
-
- IdentityMap.Keys(IdentityMap<K, ?>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Keys
-
- IdentityMap.Values<V> - Class in com.esotericsoftware.kryo.util
-
- IdentityMap.Values(IdentityMap<?, V>) - Constructor for class com.esotericsoftware.kryo.util.IdentityMap.Values
-
- IdentityObjectIntMap<K> - Class in com.esotericsoftware.kryo.util
-
An unordered map where identity comparison is used for keys and the values are ints.
- IdentityObjectIntMap() - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- IdentityObjectIntMap(int) - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with a load factor of 0.8.
- IdentityObjectIntMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
Creates a new map with the specified initial capacity and load factor.
- idToRegistration - Variable in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- indexOf(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- initializeCachedFields() - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
-
- Input - Class in com.esotericsoftware.kryo.io
-
An InputStream that reads data from a byte array and optionally fills the byte array from another OutputStream as needed.
- Input() - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates an uninitialized Input.
- Input(int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte array.
- Input(byte[]) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte array.
- Input(byte[], int, int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from a byte array.
- Input(InputStream) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from an InputStream with a buffer size of 4096.
- Input(InputStream, int) - Constructor for class com.esotericsoftware.kryo.io.Input
-
Creates a new Input for reading from an InputStream.
- InputChunked - Class in com.esotericsoftware.kryo.io
-
An InputStream that reads lengths and chunks of data from another OutputStream, allowing chunks to be skipped.
- InputChunked() - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
Creates an uninitialized InputChunked with a buffer size of 2048.
- InputChunked(int) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
Creates an uninitialized InputChunked.
- InputChunked(InputStream) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
Creates an InputChunked with a buffer size of 2048.
- InputChunked(InputStream, int) - Constructor for class com.esotericsoftware.kryo.io.InputChunked
-
- insert(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- IntArray - Class in com.esotericsoftware.kryo.util
-
A resizable, ordered or unordered int array.
- IntArray() - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates an ordered array with a capacity of 16.
- IntArray(int) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates an ordered array with the specified capacity.
- IntArray(boolean, int) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
- IntArray(IntArray) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates a new array containing the elements in the specific array.
- IntArray(int[]) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates a new ordered array containing the elements in the specified array.
- IntArray(boolean, int[]) - Constructor for class com.esotericsoftware.kryo.util.IntArray
-
Creates a new array containing the elements in the specified array.
- intLength(int, boolean) - Static method in class com.esotericsoftware.kryo.io.Output
-
- IntMap<V> - Class in com.esotericsoftware.kryo.util
-
An unordered map that uses int keys.
- IntMap() - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- IntMap(int) - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with a load factor of 0.8.
- IntMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.IntMap
-
Creates a new map with the specified initial capacity and load factor.
- isAndroid - Static variable in class com.esotericsoftware.kryo.util.Util
-
- isFinal(Class) - Method in class com.esotericsoftware.kryo.Kryo
-
Returns true if the specified type is final.
- isImmutable() - Method in class com.esotericsoftware.kryo.Serializer
-
- isRegistrationRequired() - Method in class com.esotericsoftware.kryo.Kryo
-
- isWrapperClass(Class) - Static method in class com.esotericsoftware.kryo.util.Util
-
- items - Variable in class com.esotericsoftware.kryo.util.IntArray
-
- iterator() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Entries
-
- iterator() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Keys
-
- iterator() - Method in class com.esotericsoftware.kryo.util.IdentityMap.Values
-
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Entries
-
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Keys
-
- iterator() - Method in class com.esotericsoftware.kryo.util.ObjectMap.Values
-
- ObjectMap<K,V> - Class in com.esotericsoftware.kryo.util
-
An unordered map.
- ObjectMap() - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with an initial capacity of 32 and a load factor of 0.8.
- ObjectMap(int) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with a load factor of 0.8.
- ObjectMap(int, float) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap
-
Creates a new map with the specified initial capacity and load factor.
- ObjectMap.Entries<K,V> - Class in com.esotericsoftware.kryo.util
-
- ObjectMap.Entries(ObjectMap<K, V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Entries
-
- ObjectMap.Entry<K,V> - Class in com.esotericsoftware.kryo.util
-
- ObjectMap.Entry() - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Entry
-
- ObjectMap.Keys<K> - Class in com.esotericsoftware.kryo.util
-
- ObjectMap.Keys(ObjectMap<K, ?>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Keys
-
- ObjectMap.Values<V> - Class in com.esotericsoftware.kryo.util
-
- ObjectMap.Values(ObjectMap<?, V>) - Constructor for class com.esotericsoftware.kryo.util.ObjectMap.Values
-
- ordered - Variable in class com.esotericsoftware.kryo.util.IntArray
-
- Output - Class in com.esotericsoftware.kryo.io
-
An OutputStream that buffers data in a byte array and optionally flushes to another OutputStream.
- Output() - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates an uninitialized Output.
- Output(int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(int, int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(byte[]) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(byte[], int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to a byte array.
- Output(OutputStream) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to an OutputStream.
- Output(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.io.Output
-
Creates a new Output for writing to an OutputStream.
- OutputChunked - Class in com.esotericsoftware.kryo.io
-
An OutputStream that buffers data in a byte array and flushes to another OutputStream, writing the length before each flush.
- OutputChunked() - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
Creates an uninitialized OutputChunked with a maximum chunk size of 2048.
- OutputChunked(int) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
Creates an uninitialized OutputChunked.
- OutputChunked(OutputStream) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
Creates an OutputChunked with a maximum chunk size of 2048.
- OutputChunked(OutputStream, int) - Constructor for class com.esotericsoftware.kryo.io.OutputChunked
-
- read() - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
- read(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
- read() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a single byte as an int from 0 to 255, or -1 if there are no more bytes are available.
- read(byte[]) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads bytes.length bytes or less and writes them to the specified byte[], starting at 0, and returns the number of bytes
read.
- read(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.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(Kryo, Input) - Method in interface com.esotericsoftware.kryo.KryoSerializable
-
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.Serializer
-
Reads bytes and returns a new object of the specified concrete type.
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.BeanSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.BlowfishSerializer
-
- read(Kryo, Input, Class<Collection>) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer
-
- read(Kryo, Input, Class<boolean[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.BooleanArraySerializer
-
- read(Kryo, Input, Class<byte[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ByteArraySerializer
-
- read(Kryo, Input, Class<char[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.CharArraySerializer
-
- read(Kryo, Input, Class<double[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.DoubleArraySerializer
-
- read(Kryo, Input, Class<float[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.FloatArraySerializer
-
- read(Kryo, Input, Class<int[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.IntArraySerializer
-
- read(Kryo, Input, Class<long[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.LongArraySerializer
-
- read(Kryo, Input, Class<Object[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
-
- read(Kryo, Input, Class<short[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ShortArraySerializer
-
- read(Kryo, Input, Class<String[]>) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.StringArraySerializer
-
- read(Kryo, Input, Class<BigDecimal>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigDecimalSerializer
-
- read(Kryo, Input, Class<BigInteger>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BigIntegerSerializer
-
- read(Kryo, Input, Class<Boolean>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.BooleanSerializer
-
- read(Kryo, Input, Class<Byte>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ByteSerializer
-
- read(Kryo, Input, Class<Calendar>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CalendarSerializer
-
- read(Kryo, Input, Class<Character>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CharSerializer
-
- read(Kryo, Input, Class<Class>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ClassSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyListSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptyMapSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsEmptySetSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonListSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonMapSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CollectionsSingletonSetSerializer
-
- read(Kryo, Input, Class<Currency>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.CurrencySerializer
-
- read(Kryo, Input, Class<Date>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DateSerializer
-
- read(Kryo, Input, Class<Double>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.DoubleSerializer
-
- read(Kryo, Input, Class<Enum>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSerializer
-
- read(Kryo, Input, Class<EnumSet>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.EnumSetSerializer
-
- read(Kryo, Input, Class<Float>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.FloatSerializer
-
- read(Kryo, Input, Class<Integer>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.IntSerializer
-
- read(Kryo, Input, Class<KryoSerializable>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.KryoSerializableSerializer
-
- read(Kryo, Input, Class<Long>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.LongSerializer
-
- read(Kryo, Input, Class<Short>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.ShortSerializer
-
- read(Kryo, Input, Class<StringBuffer>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBufferSerializer
-
- read(Kryo, Input, Class<StringBuilder>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringBuilderSerializer
-
- read(Kryo, Input, Class<String>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.StringSerializer
-
- read(Kryo, Input, Class<TimeZone>) - Method in class com.esotericsoftware.kryo.serializers.DefaultSerializers.TimeZoneSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
- read(Input, Object) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- read(Kryo, Input, Class) - Method in class com.esotericsoftware.kryo.serializers.JavaSerializer
-
- read(Kryo, Input, Class<Map>) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- read(Kryo, Input, Class<T>) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
-
- readBoolean() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1 byte boolean.
- readByte() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a single byte.
- readBytes(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the specified number of bytes into a new byte[].
- readBytes(byte[]) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads bytes.length bytes and writes them to the specified byte[], starting at index 0.
- readBytes(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads count bytes and writes them to the specified byte[], starting at offset.
- readByteUnsigned() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a byte as an int from 0 to 255.
- readChar() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte char.
- readClass(Input) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Reads a class and returns its registration.
- readClass(Input) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads a class and returns its registration.
- readClass(Input) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- readClassAndObject(Input) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads the class and object or null using the registered serializer.
- readDouble() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an 8 bytes double.
- readDouble(double, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-9 byte double with reduced precision.
- readFloat() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 4 byte float.
- readFloat(float, boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-5 byte float with reduced precision.
- readInt() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 4 byte int.
- readInt(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-5 byte int.
- readLong() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads an 8 byte long.
- readLong(boolean) - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 1-9 byte long.
- readName(Input) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- readObject(Input, Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object using the registered serializer.
- readObject(Input, Class<T>, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object using the specified serializer.
- readObjectOrNull(Input, Class<T>) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object or null using the registered serializer.
- readObjectOrNull(Input, Class<T>, Serializer) - Method in class com.esotericsoftware.kryo.Kryo
-
Reads an object or null using the specified serializer.
- readObjects - Variable in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- readShort() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte short.
- readShortUnsigned() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads a 2 byte short as an int from 0 to 65535.
- readString() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the length and string of UTF8 characters, or null.
- readStringBuilder() - Method in class com.esotericsoftware.kryo.io.Input
-
Reads the length and string of UTF8 characters, or null.
- reference(Object) - Method in class com.esotericsoftware.kryo.Kryo
-
- ReferenceResolver - Interface in com.esotericsoftware.kryo
-
When references are enabled, this tracks objects that have already been read or written, provides an ID for objects that are
written, and looks up by ID objects that have been read.
- register(Registration) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Stores the specified registration.
- register(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
-
- 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.
- register(Registration) - Method in class com.esotericsoftware.kryo.Kryo
-
Stores the specified registration.
- register(Registration) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- registerImplicit(Class) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
- 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(K) - Method in class com.esotericsoftware.kryo.util.IdentityMap
-
- remove(K, int) - Method in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
- remove(int) - Method in class com.esotericsoftware.kryo.util.IntMap
-
- remove(K) - Method in class com.esotericsoftware.kryo.util.ObjectMap
-
- removeField(String) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Removes a field so that it won't be serialized.
- removeField(String) - Method in class com.esotericsoftware.kryo.serializers.TaggedFieldSerializer
-
- removeIndex(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
Removes and returns the item at the specified index.
- removeValue(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- reset() - Method in interface com.esotericsoftware.kryo.ClassResolver
-
- reset() - Method in class com.esotericsoftware.kryo.Kryo
-
Resets unregistered class names.
- reset() - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
- reset() - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- reset() - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- reset() - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- resize(int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- reverse() - Method in class com.esotericsoftware.kryo.util.IntArray
-
- rewind() - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the position and total to zero.
- rewind() - Method in class com.esotericsoftware.kryo.io.InputChunked
-
- seenObjects - Variable in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- Serializer<T> - Class in com.esotericsoftware.kryo
-
Reads and writes objects to and from bytes.
- Serializer() - Constructor for class com.esotericsoftware.kryo.Serializer
-
- Serializer(boolean) - Constructor for class com.esotericsoftware.kryo.Serializer
-
- Serializer(boolean, boolean) - Constructor for class com.esotericsoftware.kryo.Serializer
-
- set(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
-
- setAcceptsNull(boolean) - Method in class com.esotericsoftware.kryo.Serializer
-
If true, this serializer will handle writing and reading null values.
- setAutoReset(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true (the default),
Kryo.reset()
is called automatically after an entire object graph has been read or written.
- setBuffer(byte[]) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new buffer.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new buffer.
- setBuffer(byte[], int, int) - Method in class com.esotericsoftware.kryo.io.InputChunked
-
- setBuffer(byte[]) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the buffer that will be written to.
- setBuffer(byte[], int) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the buffer that will be written to.
- setByteBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.io.ByteBufferInputStream
-
- setByteBuffer(ByteBuffer) - Method in class com.esotericsoftware.kryo.io.ByteBufferOutputStream
-
- setCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setClass(Class) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setClassLoader(ClassLoader) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the classloader to resolve unregistered class names to classes.
- setCompressionLevel(int) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
Default is 4.
- setDefaultSerializer(Class<? extends Serializer>) - Method in class com.esotericsoftware.kryo.Kryo
-
- setElementClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- setElementsAreSameType(boolean) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
-
- setElementsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- setElementsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.DefaultArraySerializers.ObjectArraySerializer
-
- setFieldsAsAccessible(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Controls which fields are serialized.
- setFieldsCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- setFixedFieldTypes(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
- setGenerics(Kryo, Class[]) - Method in class com.esotericsoftware.kryo.Serializer
-
Sets the generic types of the field or method this serializer will be used for on the next call to read or write.
- setGenerics(Kryo, Class[]) - Method in class com.esotericsoftware.kryo.serializers.CollectionSerializer
-
- setGenerics(Kryo, Class[]) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setIgnoreSyntheticFields(boolean) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer
-
Controls if synthetic fields are serialized.
- setImmutable(boolean) - Method in class com.esotericsoftware.kryo.Serializer
-
If true, the type this serializer will be used for is considered immutable.
- setInputStream(InputStream) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets a new InputStream.
- setInputStream(InputStream) - Method in class com.esotericsoftware.kryo.io.InputChunked
-
- setInstantiator(ObjectInstantiator) - Method in class com.esotericsoftware.kryo.Registration
-
- setInstantiatorStrategy(InstantiatorStrategy) - Method in class com.esotericsoftware.kryo.Kryo
-
- setKeyClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setKeysCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setKryo(Kryo) - Method in interface com.esotericsoftware.kryo.ClassResolver
-
Sets the Kryo instance that this ClassResolver will be used for.
- setKryo(Kryo) - Method in interface com.esotericsoftware.kryo.ReferenceResolver
-
Sets the Kryo instance that this ClassResolver will be used for.
- setKryo(Kryo) - Method in class com.esotericsoftware.kryo.util.DefaultClassResolver
-
- setKryo(Kryo) - Method in class com.esotericsoftware.kryo.util.ListReferenceResolver
-
- setKryo(Kryo) - Method in class com.esotericsoftware.kryo.util.MapReferenceResolver
-
- setLimit(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the limit in the buffer.
- setMaxDepth(int) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the maxiumum depth of an object graph.
- setNoHeaders(boolean) - Method in class com.esotericsoftware.kryo.serializers.DeflateSerializer
-
- setOutputStream(OutputStream) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets a new OutputStream.
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the current position in the buffer.
- setPosition(int) - Method in class com.esotericsoftware.kryo.io.Output
-
Sets the current position in the buffer.
- setReferenceResolver(ReferenceResolver) - Method in class com.esotericsoftware.kryo.Kryo
-
Sets the reference resolver and enables references.
- setReferences(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true, each appearance of an object in the graph after the first is stored as an integer ordinal.
- setRegistrationRequired(boolean) - Method in class com.esotericsoftware.kryo.Kryo
-
If true, an exception is thrown when an unregistered class is encountered.
- setSerializer(Serializer) - Method in class com.esotericsoftware.kryo.Registration
-
- setSerializer(Serializer) - Method in class com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField
-
- setTotal(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Sets the number of bytes read.
- setValueClass(Class, Serializer) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- setValuesCanBeNull(boolean) - Method in class com.esotericsoftware.kryo.serializers.MapSerializer
-
- shrink() - Method in class com.esotericsoftware.kryo.util.IntArray
-
Reduces the size of the backing array to the size of the actual items.
- size - Variable in class com.esotericsoftware.kryo.util.IdentityMap
-
- size - Variable in class com.esotericsoftware.kryo.util.IdentityObjectIntMap
-
- size - Variable in class com.esotericsoftware.kryo.util.IntArray
-
- size - Variable in class com.esotericsoftware.kryo.util.IntMap
-
- size - Variable in class com.esotericsoftware.kryo.util.ObjectMap
-
- skip(int) - Method in class com.esotericsoftware.kryo.io.Input
-
Discards the specified number of bytes.
- skip(long) - Method in class com.esotericsoftware.kryo.io.Input
-
Discards the specified number of bytes.
- sort() - Method in class com.esotericsoftware.kryo.util.IntArray
-
- string(Object) - Static method in class com.esotericsoftware.kryo.util.Util
-
Returns the object formatted as a string.
- swap(int, int) - Method in class com.esotericsoftware.kryo.util.IntArray
-