edu.berkeley.nlp.lm.collections
Class LongToIntHashMap.Entry
java.lang.Object
edu.berkeley.nlp.lm.collections.LongToIntHashMap.Entry
- All Implemented Interfaces:
- Comparable<LongToIntHashMap.Entry>, Map.Entry<Long,Integer>
- Enclosing class:
- LongToIntHashMap
public class LongToIntHashMap.Entry
- extends Object
- implements Map.Entry<Long,Integer>, Comparable<LongToIntHashMap.Entry>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
public long key
value
public int value
LongToIntHashMap.Entry
public LongToIntHashMap.Entry(long key,
int value,
int index)
getKey
public Long getKey()
- Specified by:
getKey
in interface Map.Entry<Long,Integer>
getValue
public Integer getValue()
- Specified by:
getValue
in interface Map.Entry<Long,Integer>
setValue
public Integer setValue(Integer value)
- Specified by:
setValue
in interface Map.Entry<Long,Integer>
compareTo
public int compareTo(LongToIntHashMap.Entry o)
- Specified by:
compareTo
in interface Comparable<LongToIntHashMap.Entry>