MCPcopy
hub / github.com/SeleniumHQ/selenium / peek

Method peek

java/src/org/openqa/selenium/json/Input.java:69–71  ·  view source on GitHub ↗

Extract the next character from the input without consuming it. @return the next input character; #EOF if input is exhausted

()

Source from the content-addressed store, hash-verified

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.

Calls 1

fillMethod · 0.95