Package edu.berkeley.nlp.lm.collections
Class LongToIntHashMap.Entry
- java.lang.Object
-
- edu.berkeley.nlp.lm.collections.LongToIntHashMap.Entry
-
- All Implemented Interfaces:
java.lang.Comparable<LongToIntHashMap.Entry>
,java.util.Map.Entry<java.lang.Long,java.lang.Integer>
- Enclosing class:
- LongToIntHashMap
public class LongToIntHashMap.Entry extends java.lang.Object implements java.util.Map.Entry<java.lang.Long,java.lang.Integer>, java.lang.Comparable<LongToIntHashMap.Entry>
-
-
Constructor Summary
Constructors Constructor Description Entry(long key, int value, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LongToIntHashMap.Entry o)
java.lang.Long
getKey()
java.lang.Integer
getValue()
java.lang.Integer
setValue(java.lang.Integer value)
-
-
-
Method Detail
-
getKey
public java.lang.Long getKey()
- Specified by:
getKey
in interfacejava.util.Map.Entry<java.lang.Long,java.lang.Integer>
-
getValue
public java.lang.Integer getValue()
- Specified by:
getValue
in interfacejava.util.Map.Entry<java.lang.Long,java.lang.Integer>
-
setValue
public java.lang.Integer setValue(java.lang.Integer value)
- Specified by:
setValue
in interfacejava.util.Map.Entry<java.lang.Long,java.lang.Integer>
-
compareTo
public int compareTo(LongToIntHashMap.Entry o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<LongToIntHashMap.Entry>
-
-