public class ItemPair
extends java.lang.Object
implements java.util.Map.Entry
| Constructor and Description |
|---|
ItemPair(java.lang.Object key,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
This method just uses the algorithm defined in the Map.Entry interface.
|
java.lang.Object |
getKey() |
java.lang.Object |
getValue() |
int |
hashCode()
This method just uses the algorithm defined in the Map.Entry interface.
|
java.lang.Object |
setValue(java.lang.Object value) |
public int hashCode()
hashCode in interface java.util.Map.EntryhashCode in class java.lang.Objectpublic java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object setValue(java.lang.Object value)
setValue in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entryequals in class java.lang.Object