MCPcopy Create free account
hub / github.com/davidgiven/luje / startsWith

Method startsWith

lib/java/lang/String.java:1370–1372  ·  view source on GitHub ↗

Compares the specified string to this string to determine if the specified string is a prefix. @param prefix the string to look for. @return true if the specified string is a prefix of this string, false otherwise @throws NullPointerException if {@code

(String prefix)

Source from the content-addressed store, hash-verified

1368 * if {@code prefix} is {@code null}.
1369 */
1370 public boolean startsWith(String prefix) {
1371 return startsWith(prefix, 0);
1372 }
1373
1374 /**
1375 * Compares the specified string to this string, starting at the specified

Callers 7

toURIMethod · 0.95
parseURIMethod · 0.95
isValidDomainNameMethod · 0.95
relativizeMethod · 0.95
checkURIMethod · 0.80
normalizeMethod · 0.80
resolveMethod · 0.80

Calls 1

regionMatchesMethod · 0.95

Tested by

no test coverage detected