|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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.Entry
public Object getValue()
getValue
in interface Map.Entry
public Object setValue(Object value)
setValue
in interface Map.Entry
public boolean equals(Object o)
equals
in interface Map.Entry
equals
in class Object
private boolean equal(Object o, Object p)
public int hashCode()
hashCode
in interface Map.Entry
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |