MCPcopy Index your code
hub / github.com/libgdx/libgdx / codePointCount

Method codePointCount

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

Calculates the number of Unicode code points between begin and end. @param begin the inclusive beginning index of the subsequence. @param end the exclusive end index of the subsequence. @return the number of Unicode code points in the subsequence. @throws IndexOutOfBoundsException if

(int begin, int end)

Source from the content-addressed store, hash-verified

1279 * @see Character
1280 * @see Character#codePointCount(char[], int, int) */
1281 public int codePointCount (int begin, int end) {
1282 if (begin < 0 || end > size || begin > end) throw new IndexOutOfBoundsException();
1283 return Character.codePointCount(items, begin, end - begin);
1284 }
1285
1286 /** Returns the index that is offset {@code codePointOffset} code points from {@code index}.
1287 * @param index the index to calculate the offset from.

Callers 1

unicodeTestMethod · 0.95

Calls

no outgoing calls

Tested by 1

unicodeTestMethod · 0.76