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 booleanequals(java.lang.Object o)Checks if another object is equal to this one, i.e.KgetKey()VgetValue()inthashCode()Creates a hashcode combining both keys and values.KsetKey(K _key)Allow the key to be changedVsetValue(V _value)java.lang.StringtoString()
-