Class TLong
java.lang.Object
java.lang.Number
de.mirkosertic.bytecoder.classlib.java.lang.TLong
- All Implemented Interfaces:
Serializable
,Comparable<Long>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
bitCount
(long i) static int
compare
(long x, long y) int
double
boolean
float
int
hashCode()
static int
hashCode
(long value) int
intValue()
long
static int
numberOfLeadingZeros
(long i) static int
numberOfTrailingZeros
(long i) static long
parseLong
(CharSequence aString, int beginIndex, int endIndex, int radix) static long
static long
static int
signum
(long value) static String
toHexString
(long aValue) toString()
static String
toString
(long aValue) static String
toString
(long aValue, int aBase) static Long
valueOf
(long aValue) static Long
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
TYPE
-
value
-
-
Constructor Details
-
TLong
public TLong(long aLongValue)
-
-
Method Details
-
hashCode
public int hashCode() -
intValue
public int intValue() -
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
longValue
public long longValue() -
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
toString
-
valueOf
-
valueOf
-
parseLong
-
parseLong
-
parseLong
-
toString
-
toString
-
toHexString
-
numberOfLeadingZeros
public static int numberOfLeadingZeros(long i) -
numberOfTrailingZeros
public static int numberOfTrailingZeros(long i) -
bitCount
public static int bitCount(long i) -
signum
public static int signum(long value) -
compareTo
- Specified by:
compareTo
in interfaceComparable<Long>
-
compare
public static int compare(long x, long y) -
hashCode
public static int hashCode(long value)
-