MCPcopy Index your code
hub / github.com/davidgiven/luje / codePointAt

Method codePointAt

lib/java/lang/String.java:1854–1860  ·  view source on GitHub ↗

Retrieves the Unicode code point (character) value at the specified index. @param index the index to the char code unit within this string. @return the Unicode code point value. @throws IndexOutOfBoundsException if index is negative or greater than or

(int index)

Source from the content-addressed store, hash-verified

1852 * @since 1.5
1853 */
1854 public int codePointAt(int index) {
1855 if (index < 0 || index >= count) {
1856 throw new IndexOutOfBoundsException();
1857 }
1858 int s = index + offset;
1859 return Character.codePointAt(value, s, offset + count);
1860 }
1861
1862 /**
1863 * Retrieves the Unicode code point value that precedes the specified

Callers 2

indexOfMethod · 0.95
lastIndexOfMethod · 0.95

Calls 1

codePointAtMethod · 0.95

Tested by

no test coverage detected