|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.fhg.igd.util.MapEntry
public class MapEntry
Implements Map.Entry, once and for all.
| Field Summary | |
|---|---|
private Object |
key_
The key. |
private Object |
value_
The value. |
| Constructor Summary | |
|---|---|
MapEntry(Map.Entry entry)
Creates an instance from the given Map.Entry. |
|
MapEntry(Object key,
Object value)
Creates an instance with the given key and value. |
|
| Method Summary | |
|---|---|
private boolean |
equal(Object o,
Object p)
|
boolean |
equals(Object o)
|
Object |
getKey()
|
Object |
getValue()
|
int |
hashCode()
|
Object |
setValue(Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Object key_
private Object value_
| Constructor Detail |
|---|
public MapEntry(Object key,
Object value)
key - The key.value - The value.public MapEntry(Map.Entry entry)
Map.Entry.
entry - The Map.Entry whose key and value
is copied into this entry.| Method Detail |
|---|
public Object getKey()
getKey in interface Map.Entrypublic Object getValue()
getValue in interface Map.Entrypublic Object setValue(Object value)
setValue in interface Map.Entrypublic boolean equals(Object o)
equals in interface Map.Entryequals in class Object
private boolean equal(Object o,
Object p)
public int hashCode()
hashCode in interface Map.EntryhashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||