Extract the next character from the input without consuming it. @return the next input character; #EOF if input is exhausted
()
| 67 | * @return the next input character; {@link #EOF} if input is exhausted |
| 68 | */ |
| 69 | public char peek() { |
| 70 | return fill() ? buffer[position + 1] : EOF; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Read and consume the next character from the input. |