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)
| 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 |
no test coverage detected