src/share/classes/java/nio/StringCharBuffer.java

Print this page

        

*** 75,84 **** --- 75,88 ---- public final char get(int index) { return str.charAt(checkIndex(index) + offset); } + char getUnchecked(int index) { + return str.charAt(index + offset); + } + // ## Override bulk get methods for better performance public final CharBuffer put(char c) { throw new ReadOnlyBufferException(); }