(char c)
| 757 | // Equivalent to both peek() == c but more efficient because we |
| 758 | // don't support surrogates. Precondition: |more()|. |
| 759 | boolean lookingAt(char c) { |
| 760 | return str.charAt(pos) == c; |
| 761 | } |
| 762 | |
| 763 | // Equivalent to rest().startsWith(s). |
| 764 | boolean lookingAt(String s) { |
no test coverage detected