K
- type of the KeyV
- type of the Valuepublic class MapEntry<K,V> extends Object implements Map.Entry<K,V>
Constructor and Description |
---|
MapEntry(K _key,
V _value)
Construct a new Entry
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Checks if another object is equal to this one, i.e.
|
K |
getKey() |
V |
getValue() |
int |
hashCode()
Creates a hashcode combining both keys and values.
|
K |
setKey(K _key)
Allow the key to be changed
|
V |
setValue(V _value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public boolean equals(Object o)
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow