Returns the key.
Returns the value associated with the key.
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())) && (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.
Replaces the value currently associated with the key with the given value.
Returns a string representation of this map entry. This implementation returns the string representation of this entry's key followed by the equals character ("<tt>=</tt>") followed by the string representation of this entry's value.