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)
| 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. |