Overview | Methods | This Package | All Packages
Retrieves the next available character without actually reading it from the input stream.
Syntax
public int peek()
Return Value
Returns the next character to be read, or returns -1 if no additional characters are available.