MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / equals

Method equals

jOOQ/src/main/java/org/jooq/tools/StringUtils.java:1263–1265  ·  view source on GitHub ↗

Compares two strings for equality, where either one or both objects may be null. ObjectUtils.equals(null, null) = true ObjectUtils.equals(null, "") = false ObjectUtils.equals("", null) = false ObjectUtils.equals("", "")

(String o1, String o2)

Source from the content-addressed store, hash-verified

1261 * @return {@code true} if the values of both objects are the same
1262 */
1263 public static boolean equals(String o1, String o2) {
1264 return o1 == null ? o2 == null : o1.equals(o2);
1265 }
1266
1267 /**
1268 * <p>

Callers 12

generateTableMethod · 0.95
migrateTo1Method · 0.95
parseTXTLineMethod · 0.95
checkIfChangedMethod · 0.95
setMethod · 0.95
initMethod · 0.95
equalsMethod · 0.95
keyColumnUsageMethod · 0.95
loadForeignKeysMethod · 0.95
tableConstraintMethod · 0.95
getTables0Method · 0.95

Calls 2

equalsMethod · 0.65
isArrayMethod · 0.65

Tested by

no test coverage detected