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

Method standardEquals

output/java_guava/1.4.17/ForwardingSet.java:92–94  ·  view source on GitHub ↗

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

(@Nullable Object object)

Source from the content-addressed store, hash-verified

90
91
92 protected boolean standardEquals(@Nullable Object object) {
93 return Sets.equalsImpl(this, object);
94 }
95
96 /**
97 * 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