|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.util.MapEntry
public class MapEntry extends java.lang.Object
A Map.Entry implementation.
Constructor Summary | |
MapEntry(java.lang.Object key, java.lang.Object value)
|
Method Summary | |
---|---|
boolean
|
equals(java.lang.Object that)
|
boolean
|
equals(MapEntry that)
|
java.lang.Object
|
getKey()
|
java.lang.Object
|
getValue()
|
protected int
|
hash(java.lang.Object object)
Helper method to handle object hashes for possibly null values |
int
|
hashCode()
|
void
|
setKey(java.lang.Object key)
|
java.lang.Object
|
setValue(java.lang.Object value)
|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public MapEntry(java.lang.Object key, java.lang.Object value)
Method Detail |
---|
public boolean equals(java.lang.Object that)
public boolean equals(MapEntry that)
public java.lang.Object getKey()
public java.lang.Object getValue()
protected int hash(java.lang.Object object)
public int hashCode()
public void setKey(java.lang.Object key)
public java.lang.Object setValue(java.lang.Object value)
public java.lang.String toString()
Groovy Documentation