InputMismatchException
if the next token cannot be translated into a valid boolean value. If the match is successful, the scanner advances past the input that matched.
@return the boolean scanned from the input
@throws InputMismatchException if the next token is not a valid boolean
@throws NoSuchElementException if input is exhausted
@throws IllegalStateException if this scanner is closed
|
|
|
|
|
|
|
|