|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.knowledgeplaza.util.AbstractMapEntry<K,V>
nl.knowledgeplaza.util.KeyValueMapEntry<K,V>
public class KeyValueMapEntry<K,V>
Default implementation for AbstractMapEntry
| Constructor Summary | |
|---|---|
KeyValueMapEntry(K key,
V value)
|
|
| Method Summary | |
|---|---|
K |
getKey()
Returns the key corresponding to this entry. |
V |
getValue()
Returns the value corresponding to this entry. |
protected K |
setKey(K newKey)
For use in subclass implementations *only*. |
V |
setValue(V newValue)
Replaces the value corresponding to this entry with the specified value (optional operation). |
| Methods inherited from class nl.knowledgeplaza.util.AbstractMapEntry |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyValueMapEntry(K key,
V value)
| Method Detail |
|---|
public K getKey()
AbstractMapEntry
getKey in interface java.util.Map.Entry<K,V>getKey in class AbstractMapEntry<K,V>public V getValue()
AbstractMapEntryremove() operation), the results of this call are
undefined.
getValue in interface java.util.Map.Entry<K,V>getValue in class AbstractMapEntry<K,V>protected K setKey(K newKey)
public V setValue(V newValue)
AbstractMapEntryremove()
operation).
setValue in interface java.util.Map.Entry<K,V>setValue in class AbstractMapEntry<K,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||