MCPcopy Index your code
hub / github.com/antlr/codebuff / equal

Method equal

output/java_guava/1.4.17/Objects.java:57–59  ·  view source on GitHub ↗

Determines whether two possibly-null objects are equal. Returns: true if a and b are both null. true if a and b are both non-null and they are equal according to Object#equals(Object). false in all other situations

(@Nullable Object a, @Nullable Object b)

Source from the content-addressed store, hash-verified

55
56
57 public static boolean equal(@Nullable Object a, @Nullable Object b) {
58 return a == b || (a != null && a.equals(b));
59 }
60
61 /**
62 * Generates a hash code for multiple values. The hash code is generated by calling

Callers 15

putInBothMapsMethod · 0.95
setValueMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
removeMethod · 0.95
containsMethod · 0.95
removeMethod · 0.95
standardRemoveMethod · 0.95
equalsMethod · 0.95
equalsMethod · 0.95
elementsEqualMethod · 0.95
equalsMethod · 0.95

Calls 1

equalsMethod · 0.65

Tested by

no test coverage detected