Package edu.berkeley.nlp.lm.util
Class LongRef
java.lang.Object
edu.berkeley.nlp.lm.util.LongRef
- All Implemented Interfaces:
LongRepresentable<LongRef>
,Serializable
,Comparable<LongRef>
public class LongRef
extends Object
implements Comparable<LongRef>, Serializable, LongRepresentable<LongRef>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
public long value
-
-
Constructor Details
-
LongRef
public LongRef(long value)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LongRef>
-
toString
-
asLong
public long asLong()- Specified by:
asLong
in interfaceLongRepresentable<LongRef>
-