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 int
compareTo(ULong other)
boolean
equals(Object obj)
int
intValue()
long
longValue()
int
numBits()
IntNum
toIntNum()
String
toString()
static String
toString(long ival)
static ULong
valueOf(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:
numBits
in classUnsignedPrim
-
valueOf
public static ULong valueOf(long ival)
-
longValue
public long longValue()
- Overrides:
longValue
in classUnsignedPrim
-
toIntNum
public IntNum toIntNum()
- Overrides:
toIntNum
in classUnsignedPrim
-
compareTo
public int compareTo(ULong other)
- Specified by:
compareTo
in interfaceComparable<ULong>
-
toString
public static String toString(long ival)
-
-