MCPcopy Create free account
hub / github.com/M66B/FairEmail / isNextNonSpace

Method isNextNonSpace

app/src/main/java/com/sun/mail/iap/Response.java:210–217  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 13

readStringListMethod · 0.95
MODSEQMethod · 0.80
parseMethod · 0.80
NamespaceMethod · 0.80
getNamespacesMethod · 0.80
BODYSTRUCTUREMethod · 0.80
parseParametersMethod · 0.80
parseBodyExtensionMethod · 0.80
parseQuotaMethod · 0.80
StatusMethod · 0.80
ENVELOPEMethod · 0.80
parseAddressListMethod · 0.80

Calls 1

skipSpacesMethod · 0.95

Tested by

no test coverage detected