Package groovy.util
Class MapEntry
java.lang.Object
groovy.util.MapEntry
- All Implemented Interfaces:
Map.Entry
public class MapEntry extends Object implements Map.Entry
A Map.Entry implementation.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(MapEntry that)
boolean
equals(Object that)
Object
getKey()
Object
getValue()
protected int
hash(Object object)
Helper method to handle object hashes for possibly null valuesint
hashCode()
void
setKey(Object key)
Object
setValue(Object value)
String
toString()
-
Constructor Details
-
MapEntry
-
-
Method Details
-
equals
-
equals
-
hashCode
public int hashCode() -
toString
-
getKey
-
setKey
-
getValue
-
setValue
-
hash
Helper method to handle object hashes for possibly null values
-