|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deduced.ValueMapEntry<K,V>
K
- the type of keys in the value mapV
- the type of values in the mapclass ValueMapEntry<K,V>
Map entry class representing a property value in a property collection
Field Summary | |
---|---|
private PropertyCollection<K,V> |
collection
the property collection in which to fetch the value |
private K |
key
key of the value to which the entry is bound |
Constructor Summary | |
---|---|
ValueMapEntry(K setKey,
PropertyCollection<K,V> setCollection)
constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
(non-Javadoc) |
K |
getKey()
(non-Javadoc) |
V |
getValue()
(non-Javadoc) |
int |
hashCode()
(non-Javadoc) |
V |
setValue(V value)
(non-Javadoc) |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final K key
private final PropertyCollection<K,V> collection
Constructor Detail |
---|
public ValueMapEntry(K setKey, PropertyCollection<K,V> setCollection)
setKey
- key of the value to which the entry is boundsetCollection
- the property collection in which to fetch the valueMethod Detail |
---|
public K getKey()
getKey
in interface java.util.Map.Entry<K,V>
Map.Entry.getKey()
public V getValue()
getValue
in interface java.util.Map.Entry<K,V>
Map.Entry.getValue()
public V setValue(V value)
setValue
in interface java.util.Map.Entry<K,V>
Map.Entry.setValue(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Map.Entry<K,V>
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in interface java.util.Map.Entry<K,V>
hashCode
in class java.lang.Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |