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