Package org.epics.util.number
Class ULong
- java.lang.Object
-
- java.lang.Number
-
- org.epics.util.number.ULong
-
- All Implemented Interfaces:
Serializable
public final class ULong extends Number
A wrapper for a unsignedlongvalue.- Author:
- carcassi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ULong(long unsignedValue)Constructs a newly allocatedULongobject that represent the specified unsignedlongvalue.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegerbigIntegerValue()doubledoubleValue()booleanequals(Object obj)floatfloatValue()inthashCode()intintValue()longlongValue()StringtoString()static StringtoString(long unsignedValue)Returns a newStringobject representing the specified unsignedlong.static ULongvalueOf(long unsignedValue)A wrapper for the given unsignedlong.-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
bigIntegerValue
public BigInteger bigIntegerValue()
-
valueOf
public static ULong valueOf(long unsignedValue)
A wrapper for the given unsignedlong.- Parameters:
unsignedValue- an unsignedlongvalue- Returns:
- a
ULonginstance representingunsignedValue
-
toString
public static String toString(long unsignedValue)
Returns a newStringobject representing the specified unsignedlong. The radix is assumed to be 10.- Parameters:
unsignedValue- the unsignedlongto be converted- Returns:
- the string representation of the specified unsigned
long
-
-