MCPcopy Index your code
hub / github.com/davidgiven/luje / endsWith

Method endsWith

lib/java/lang/String.java:746–748  ·  view source on GitHub ↗

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

(String suffix)

Source from the content-addressed store, hash-verified

744 * if {@code suffix} is {@code null}.
745 */
746 public boolean endsWith(String suffix) {
747 return regionMatches(count - suffix.count, suffix, 0, suffix.count);
748 }
749
750 /**
751 * Compares the specified object to this string and returns true if they are

Callers 3

isValidDomainNameMethod · 0.95
relativizeMethod · 0.95
normalizeMethod · 0.80

Calls 1

regionMatchesMethod · 0.95

Tested by

no test coverage detected