SimpleEntry.opEquals

Compares the specified object with this entry for equality. Returns {@code true} if the given object is also a map entry and the two entries represent the same mapping. More formally, two entries {@code e1} and {@code e2} represent the same mapping if<pre> (e1.getKey()==null ? e2.getKey()==null : e1.getKey().equals(e2.getKey())) &amp;&amp; (e1.getValue()==null ? e2.getValue()==null : e1.getValue().equals(e2.getValue()))</pre> This ensures that the {@code equals} method works properly across different implementations of the {@code MapEntry} interface.

@param o object to be compared for equality with this map entry @return {@code true} if the specified object is equal to this map entry @see #toHash

  1. bool opEquals(Object o)
    class SimpleEntry(K, V)
    override
    bool
    opEquals
    (
    Object o
    )
  2. bool opEquals(IObject o)

Meta