/** * A sensible definition of {@link #hashCode} in terms of the {@code iterator} method of {@link * #entrySet}. If you override {@link #entrySet}, you may wish to override {@link #hashCode} to * forward to this implementation. * * @since 7.0 */ @Beta protected int standardHashCode() { return Sets.hashCodeImpl(entrySet()); }
@Override public int hashCode() { return Sets.hashCodeImpl(entrySet()); }
@Override public int hashCode() { return Sets.hashCodeImpl(this); }