MCPcopy
hub / github.com/libgdx/libgdx / codePointAt

Method codePointAt

gdx/src/com/badlogic/gdx/utils/CharArray.java:1257–1260  ·  view source on GitHub ↗

Retrieves the Unicode code point value at the index. @param index the index to the char code unit. @return the Unicode code point value. @throws IndexOutOfBoundsException if index is negative or greater than or equal to #size. @see Character @see Character#codePointAt

(int index)

Source from the content-addressed store, hash-verified

1255 * @see Character
1256 * @see Character#codePointAt(char[], int, int) */
1257 public int codePointAt (int index) {
1258 validateIndex(index);
1259 return Character.codePointAt(items, index, size);
1260 }
1261
1262 /** Retrieves the Unicode code point value that precedes the {@code index}.
1263 * @param index the index to the {@code char} code unit within this object.

Callers 5

unicodeTestMethod · 0.95
addGlyphsMethod · 0.80
drawUnicodeMethod · 0.80
getWidthMethod · 0.80
getHeightMethod · 0.80

Calls 1

validateIndexMethod · 0.95

Tested by 1

unicodeTestMethod · 0.76