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

Method standardEquals

output/java_guava/1.4.18/ForwardingList.java:249–252  ·  view source on GitHub ↗

A sensible definition of #equals(Object) in terms of #size and #iterator. If you override either of those methods, you may wish to override #equals(Object) to forward to this implementation. @since 7.0

(@Nullable Object object)

Source from the content-addressed store, hash-verified

247 */
248
249 @Beta
250 protected boolean standardEquals(@Nullable Object object) {
251 return Lists.equalsImpl(this, object);
252 }
253
254 /**
255 * A sensible definition of {@link #hashCode} in terms of {@link #iterator}.

Callers

nothing calls this directly

Calls 1

equalsImplMethod · 0.95

Tested by

no test coverage detected