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 #length(). @
(int index)
| 807 | * @since 1.5 |
| 808 | */ |
| 809 | public int codePointAt(int index) { |
| 810 | if (index < 0 || index >= count) { |
| 811 | throw new StringIndexOutOfBoundsException(index); |
| 812 | } |
| 813 | return Character.codePointAt(value, index, count); |
| 814 | } |
| 815 | |
| 816 | /** |
| 817 | * Retrieves the Unicode code point value that precedes the {@code index}. |
nothing calls this directly
no test coverage detected