Skip past any spaces. If the next non-space character is c, consume it and return true. Otherwise stop at that point and return false. @param c the character to look for @return true if the character is found
(char c)
| 208 | * @return true if the character is found |
| 209 | */ |
| 210 | public boolean isNextNonSpace(char c) { |
| 211 | skipSpaces(); |
| 212 | if (index < size && buffer[index] == (byte)c) { |
| 213 | index++; |
| 214 | return true; |
| 215 | } |
| 216 | return false; |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * Skip to the next space, for use in error recovery while parsing. |
no test coverage detected