- addChild(String, JsonValue) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Sets the name of the specified value and adds it after the last child.
- addChild(JsonValue) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Adds the specified value after the last child.
- addTrace(String) - Method in exception org.mini2Dx.gdx.json.SerializationException
-
Adds information to the exception message about where in the the object graph serialization failure occurred.
- append(boolean) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified boolean value.
- append(char) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified char value.
- append(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified int value.
- append(int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified int value.
- append(int, int, char) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified int value.
- append(long) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified long value.
- append(long, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified long value.
- append(long, int, char) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified long value.
- append(float) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified float value.
- append(double) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified double value.
- append(Object) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified Object.
- append(String) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the contents of the specified string.
- append(char[]) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified char[].
- append(char[], int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified subset of the char[].
- append(CharSequence) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified CharSequence.
- append(StringBuilder) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
- append(CharSequence, int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the string representation of the specified subsequence of the CharSequence.
- append(StringBuilder, int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
- appendCodePoint(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the encoded Unicode code point.
- appendLine(String) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Appends the contents of the specified string, then create a new line.
- array() - Method in class org.mini2Dx.gdx.json.JsonWriter
-
- array(String) - Method in class org.mini2Dx.gdx.json.JsonWriter
-
- asBoolean() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a boolean.
- asBooleanArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated boolean array.
- asByte() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a byte.
- asByteArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated byte array.
- asChar() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a char.
- asCharArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated char array.
- asDouble() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a double.
- asDoubleArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated double array.
- asFloat() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a float.
- asFloatArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated float array.
- asInt() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as an int.
- asIntArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated int array.
- asLong() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a long.
- asLongArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated long array.
- asShort() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a short.
- asShortArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated short array.
- asString() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns this value as a string.
- asStringArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the children of this value as a newly allocated String array.
- capacity() - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Returns the number of characters that can be held without growing.
- causedBy(Class) - Method in exception org.mini2Dx.gdx.json.SerializationException
-
Returns true if any of the exceptions that caused this exception are of the specified type.
- charAt(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Retrieves the character at the index.
- chars - Variable in class org.mini2Dx.gdx.json.StringBuilder
-
- child - Variable in class org.mini2Dx.gdx.json.JsonValue
-
May be null.
- child() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the first child for this object or array.
- clear(ByteBuffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Writes the specified number of zeros to the buffer.
- clear() - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Sets length to 0.
- close() - Method in class org.mini2Dx.gdx.json.JsonWriter
-
- closeQuietly(Closeable) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
Close and ignore all errors.
- codePointAt(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Retrieves the Unicode code point value at the index.
- codePointBefore(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Retrieves the Unicode code point value that precedes the index.
- codePointCount(int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Calculates the number of Unicode code points between beginIndex and endIndex.
- contains(String) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
- containsIgnoreCase(String) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
- copy(float[], Buffer, int, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies numFloats floats from src starting at offset to dst.
- copy(byte[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(short[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(char[], int, int, Buffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(int[], int, int, Buffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(long[], int, int, Buffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(float[], int, int, Buffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(double[], int, int, Buffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(char[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(int[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(long[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(float[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(double[], int, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from src[srcOffset], copying numElements elements.
- copy(Buffer, Buffer, int) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Copies the contents of src to dst, starting from the current position of src, copying numElements elements (using the data
type of src, no matter the datatype of dst).
- copyStream(InputStream, OutputStream) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
- copyStream(InputStream, OutputStream, int) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
- copyStream(InputStream, OutputStream, byte[]) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
Copy the data from an InputStream to an OutputStream, using the specified byte[] as a temporary buffer.
- copyStream(InputStream, ByteBuffer) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
- copyStream(InputStream, ByteBuffer, int) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
- copyStream(InputStream, ByteBuffer, byte[]) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
Copy the data from an InputStream to a ByteBuffer, using the specified byte[] as a temporary buffer.
- copyStreamToByteArray(InputStream) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
Copy the data from an InputStream to a byte array.
- copyStreamToByteArray(InputStream, int) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
Copy the data from an InputStream to a byte array.
- copyStreamToString(InputStream) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
- copyStreamToString(InputStream, int) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
- copyStreamToString(InputStream, int, String) - Static method in class org.mini2Dx.gdx.json.StreamUtils
-
Copy the data from an InputStream to a string using the specified charset.
- get(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the child at the specified index.
- get(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns the child with the specified name.
- getAllocatedBytesUnsafe() - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
- getBoolean(String, boolean) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a boolean.
- getBoolean(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a boolean.
- getBoolean(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a boolean.
- getBuffer() - Method in class org.mini2Dx.gdx.json.StreamUtils.OptimizedByteArrayOutputStream
-
- getByte(String, byte) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a byte.
- getByte(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a byte.
- getByte(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a byte.
- getChar(String, char) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a char.
- getChar(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a char.
- getChar(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a char.
- getChars(int, int, char[], int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Copies the requested sequence of characters to the char[] passed starting at destStart.
- getChild(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns its first child.
- getDouble(String, double) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a double.
- getDouble(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a double.
- getDouble(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a double.
- getFloat(String, float) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a float.
- getFloat(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a float.
- getFloat(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a float.
- getInt(String, int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as an int.
- getInt(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as an int.
- getInt(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as an int.
- getLong(String, long) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a long.
- getLong(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a long.
- getLong(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a long.
- getMessage() - Method in exception org.mini2Dx.gdx.json.SerializationException
-
- getShort(String, short) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a short.
- getShort(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a short.
- getShort(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a short.
- getString(String, String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a string.
- getString(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified name and returns it as a string.
- getString(int) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Finds the child with the specified index and returns it as a string.
- getUnsafeBufferAddress(Buffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
Returns the address of the Buffer, it assumes it is an unsafe buffer.
- getWriter() - Method in class org.mini2Dx.gdx.json.JsonWriter
-
- indexOf(String) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Searches for the first index of the specified character.
- indexOf(String, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Searches for the index of the specified character.
- indexOfIgnoreCase(String, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
- insert(int, boolean) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified boolean value at the specified offset.
- insert(int, char) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified char value at the specified offset.
- insert(int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified int value at the specified offset.
- insert(int, long) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified long value at the specified offset.
- insert(int, float) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified float value at the specified offset.
- insert(int, double) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified double value at the specified offset.
- insert(int, Object) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified Object at the specified offset.
- insert(int, String) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the specified string at the specified offset.
- insert(int, char[]) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified char[] at the specified offset.
- insert(int, char[], int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified subsequence of the char[] at the specified offset.
- insert(int, CharSequence) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified CharSequence at the specified offset.
- insert(int, CharSequence, int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Inserts the string representation of the specified subsequence of the CharSequence at the specified offset.
- isArray() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isBoolean() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isDouble() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isEmpty() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns true if there are not children in the array or object.
- isEmpty() - Method in class org.mini2Dx.gdx.json.StringBuilder
-
- isLong() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isNull() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isNumber() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns true if this is a double or long value.
- isObject() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isString() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- isUnsafeByteBuffer(ByteBuffer) - Static method in class org.mini2Dx.gdx.json.BufferUtils
-
- isValue() - Method in class org.mini2Dx.gdx.json.JsonValue
-
Returns true if this is not an array or object.
- iterator() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- iterator() - Method in class org.mini2Dx.gdx.json.JsonValue.JsonIterator
-
- SerializationException - Exception in org.mini2Dx.gdx.json
-
Indicates an error during serialization due to misconfiguration or during deserialization due to invalid input data.
- SerializationException() - Constructor for exception org.mini2Dx.gdx.json.SerializationException
-
- SerializationException(String, Throwable) - Constructor for exception org.mini2Dx.gdx.json.SerializationException
-
- SerializationException(String) - Constructor for exception org.mini2Dx.gdx.json.SerializationException
-
- SerializationException(Throwable) - Constructor for exception org.mini2Dx.gdx.json.SerializationException
-
- set(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
- set(double, String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
- set(long, String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
- set(boolean) - Method in class org.mini2Dx.gdx.json.JsonValue
-
- set(String, Object) - Method in class org.mini2Dx.gdx.json.JsonWriter
-
- setCharAt(int, char) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Sets the character at the index.
- setLength(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Sets the current length to a new value.
- setName(String) - Method in class org.mini2Dx.gdx.json.JsonValue
-
- setNext(JsonValue) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Sets the next sibling of this value.
- setOutputType(JsonWriter.OutputType) - Method in class org.mini2Dx.gdx.json.JsonWriter
-
Sets the type of JSON output.
- setPrev(JsonValue) - Method in class org.mini2Dx.gdx.json.JsonValue
-
Sets the next sibling of this value.
- setQuoteLongValues(boolean) - Method in class org.mini2Dx.gdx.json.JsonWriter
-
When true, quotes long, double, BigInteger, BigDecimal types to prevent truncation in languages like JavaScript and PHP.
- setType(JsonValue.ValueType) - Method in class org.mini2Dx.gdx.json.JsonValue
-
- singleLineColumns - Variable in class org.mini2Dx.gdx.json.JsonValue.PrettyPrintSettings
-
If an object on a single line fits this many columns, it won't wrap.
- size - Variable in class org.mini2Dx.gdx.json.JsonValue
-
- size() - Method in class org.mini2Dx.gdx.json.JsonValue
-
- startArray(String) - Method in class org.mini2Dx.gdx.json.JsonReader
-
- startObject(String) - Method in class org.mini2Dx.gdx.json.JsonReader
-
- StreamUtils - Class in org.mini2Dx.gdx.json
-
Provides utility methods to copy streams.
- StreamUtils() - Constructor for class org.mini2Dx.gdx.json.StreamUtils
-
- StreamUtils.OptimizedByteArrayOutputStream - Class in org.mini2Dx.gdx.json
-
A ByteArrayOutputStream which avoids copying of the byte array if possible.
- string(String, String) - Method in class org.mini2Dx.gdx.json.JsonReader
-
- StringBuilder - Class in org.mini2Dx.gdx.json
-
A StringBuilder that implements equals and hashcode.
- StringBuilder() - Constructor for class org.mini2Dx.gdx.json.StringBuilder
-
Constructs an instance with an initial capacity of 16.
- StringBuilder(int) - Constructor for class org.mini2Dx.gdx.json.StringBuilder
-
Constructs an instance with the specified capacity.
- StringBuilder(CharSequence) - Constructor for class org.mini2Dx.gdx.json.StringBuilder
-
Constructs an instance that's initialized with the contents of the specified CharSequence.
- StringBuilder(StringBuilder) - Constructor for class org.mini2Dx.gdx.json.StringBuilder
-
- StringBuilder(String) - Constructor for class org.mini2Dx.gdx.json.StringBuilder
-
Constructs an instance that's initialized with the contents of the specified String.
- subSequence(int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Returns a CharSequence of the subsequence from the start index to the end index.
- substring(int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Returns the String value of the subsequence from the start index to the current end.
- substring(int, int) - Method in class org.mini2Dx.gdx.json.StringBuilder
-
Returns the String value of the subsequence from the start index to the end index.