public class MapEntry extends Object implements MapEntry
A Map.Entry implementation.
Constructor and description |
---|
MapEntry
(Object key, Object value) |
Type Params | Return Type | Name and description |
---|---|---|
public boolean |
equals(Object that) | |
public boolean |
equals(MapEntry that) | |
public Object |
getKey() | |
public Object |
getValue() | |
protected int |
hash(Object object) Helper method to handle object hashes for possibly null values | |
public int |
hashCode() | |
public void |
setKey(Object key) | |
public Object |
setValue(Object value) | |
public String |
toString() |
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Helper method to handle object hashes for possibly null values
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/MapEntry.html