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 booleanequals(MapEntry that)booleanequals(Object that)ObjectgetKey()ObjectgetValue()protected inthash(Object object)Helper method to handle object hashes for possibly null valuesinthashCode()voidsetKey(Object key)ObjectsetValue(Object value)StringtoString()
-
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
-