@Override public char[] peekChars() { return internal.peekChars(); }
/** * Peek the specified codepoint */ public Codepoint peek(int index) throws InvalidCharacterException { return toCodepoint(peekChars(index)); }
/** * Peek the next codepoint */ public Codepoint peek() throws InvalidCharacterException { return toCodepoint(peekChars()); }
/** * Peek the next chars in the iterator. If the codepoint is not supplemental, the char array will have a single * member. If the codepoint is supplemental, the char array will have two members, representing the high and low * surrogate chars */ public char[] peekChars() throws InvalidCharacterException { return peekChars(position()); }