Class MapEntry<K,V>
- java.lang.Object
-
- org.terrier.structures.collections.MapEntry<K,V>
-
- Type Parameters:
K
- type of the KeyV
- type of the Value
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
- Direct Known Subclasses:
MatchingQueryTerms.MatchingTerm
public class MapEntry<K,V> extends java.lang.Object implements java.util.Map.Entry<K,V>
Implementation of java.util.Map.Entry.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.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 changedV
setValue(V _value)
java.lang.String
toString()
-