MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / readBoolean

Method readBoolean

code/algs4/StdIn.java:399–406  ·  view source on GitHub ↗

Reads the next token from standard input, parses it as a boolean, and returns the boolean. @return the next boolean on standard input @throws NoSuchElementException if standard input is empty @throws InputMismatchException if the next token cannot be parsed as a boolean: true or

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls 2

readStringMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected