guava/src/com/google/common/collect/ForwardingMapEntry.java
protected boolean standardEquals(@Nullable Object object) {
    if (object instanceof Entry) {
      Entry<?, ?> that = (Entry<?, ?>) object;
      return Objects.equal(this.getKey(), that.getKey())
          && Objects.equal(this.getValue(), that.getValue());
    }
    return false;
  }
protected boolean standardEquals(@Nullable Object object) {
    if (object instanceof Entry) {
      Entry<?, ?> that = (Entry<?, ?>) object;
      return Objects.equal(this.getKey(), that.getKey())
          && Objects.equal(this.getValue(), that.getValue());
    }
    return false;
  }
protected boolean standardEquals ( @ Nullable Object object ) { if ( object instanceof Entry ) { Entry < ? , ? > that = ( Entry < ? , ? > ) object ; return Objects . equal ( this . getKey ( ) , that . getKey ( ) ) && Objects . equal ( this . getValue ( ) , that . getValue ( ) ) ; } return false ; }
A sensible definition of {@link #equals(Object)} in terms of {@link #getKey()} and {@link
#getValue()}. If you override either of these methods, you may wish to override {@link
#equals(Object)} to forward to this implementation.

@since 7.0
A sensible definition of { @link #equals ( Object ) } in terms of { @link #getKey () } and { @link #getValue () } . If you override either of these methods you may wish to override { @link #equals ( Object ) } to forward to this implementation .