Package gnu.math
Class ULong
- java.lang.Object
-
- java.lang.Number
-
- gnu.math.UnsignedPrim
-
- gnu.math.ULong
-
- All Implemented Interfaces:
Serializable,Comparable<ULong>
public class ULong extends UnsignedPrim implements Comparable<ULong>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ULong(long ival)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ULong other)booleanequals(Object obj)intintValue()longlongValue()intnumBits()IntNumtoIntNum()StringtoString()static StringtoString(long ival)static ULongvalueOf(long ival)-
Methods inherited from class gnu.math.UnsignedPrim
doubleValue, floatValue, hashCode
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
numBits
public int numBits()
- Specified by:
numBitsin classUnsignedPrim
-
valueOf
public static ULong valueOf(long ival)
-
longValue
public long longValue()
- Overrides:
longValuein classUnsignedPrim
-
toIntNum
public IntNum toIntNum()
- Overrides:
toIntNumin classUnsignedPrim
-
compareTo
public int compareTo(ULong other)
- Specified by:
compareToin interfaceComparable<ULong>
-
toString
public static String toString(long ival)
-
-