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.Entry
hashCode
in class java.lang.Object
public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry
equals
in class java.lang.Object