MCPcopy Create free account
hub / github.com/BaseXdb/basex / eq

Method eq

basex-core/src/main/java/org/basex/util/Strings.java:98–100  ·  view source on GitHub ↗

Compares two strings for equality. @param string1 first string (can be null) @param string2 strings to be compared (can be null) @return true if test is successful

(final String string1, final String string2)

Source from the content-addressed store, hash-verified

96 * @return {@code true} if test is successful
97 */
98 public static boolean eq(final String string1, final String string2) {
99 return Objects.equals(string1, string2);
100 }
101
102 /**
103 * Compares several strings for equality.

Callers 15

loginMethod · 0.95
getServiceMethod · 0.95
finishMethod · 0.95
runMethod · 0.95
checkVersionMethod · 0.95
guessMethod · 0.95
isSupportedMethod · 0.95
itemMethod · 0.95
levelMethod · 0.95
nextMethod · 0.95
hasFeatureMethod · 0.95
buildLayoutMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected