Package com.pnfsoftware.jeb.util.base
Class LongLong
java.lang.Object
com.pnfsoftware.jeb.util.base.LongLong
- All Implemented Interfaces:
Comparable<LongLong>
Custom implementation of Java's
longlong, a signed 128-bit integer.-
Field Details
-
lo
public long loLow 64 bits. -
hi
public long hiHigh 64 bits.
-
-
Method Details
-
valueOf
Create a signed 128-bit value from its low and high 64-bit words.- Parameters:
lo- low 64 bitshi- high 64 bits- Returns:
- a 128-bit value
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<LongLong>
-
compareUnsignedTo
Compare two values as unsigned 128-bit integers.- Parameters:
o- value to compare with- Returns:
- negative, zero, or positive if this value is respectively lower, equal, or greater
-
toString
-