Extract the next character from the input without consuming it. @return the next input character as an unsigned UTF-16 code unit (0-65535); #EOF if input is exhausted
()
| 73 | * input is exhausted |
| 74 | */ |
| 75 | public int peek() { |
| 76 | return fill() ? buffer[position + 1] : EOF; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Read and consume the next character from the input. |