Package eu.simuline.util
Class ListMap.Entry
- java.lang.Object
-
- eu.simuline.util.ListMap.Entry
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returns whetherobjequals this entry, i.e. whetherobjis an instance ofMap.Entryand both, its key and its value equals key and value of this entry.KgetKey()Returns thekeyof this entry.VgetValue()Returns thevalueof this entry.inthashCode()VsetValue(V value)Sets a newvalueof this entry and returns the original one.
-
-
-
Field Detail
-
value
private V value
The value of this entry corresponding with the keykey. Note that in contrast to the key, the value of this entry may be changed (throughsetValue(Object)).
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(java.lang.Object obj)
Returns whetherobjequals this entry, i.e. whetherobjis an instance ofMap.Entryand both, its key and its value equals key and value of this entry. Note that both, key and value may benull.
-
-