MCPcopy Create free account
hub / github.com/antlr/codebuff / equals

Method equals

output/java_guava/1.4.18/Element.java:180–188  ·  view source on GitHub ↗
(@Nullable Object obj)

Source from the content-addressed store, hash-verified

178 }
179
180 @Override
181 public boolean equals(@Nullable Object obj) {
182 if (obj instanceof Element) {
183 Element that = (Element) obj;
184 return getOwnerType().equals(that.getOwnerType())
185 && member.equals(that.member);
186 }
187 return false;
188 }
189
190 @Override
191 public int hashCode() {

Callers

nothing calls this directly

Calls 2

getOwnerTypeMethod · 0.95
equalsMethod · 0.65

Tested by

no test coverage detected