public class TLong extends TNumber implements TComparable<TLong>
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
static int |
SIZE |
static Class<Long> |
TYPE |
Modifier and Type | Method and Description |
---|---|
static int |
bitCount(long i) |
static int |
compare(long a,
long b) |
int |
compareTo(TLong other) |
static TLong |
decode(TString nm) |
static long |
divideUnsigned(long dividend,
long divisor) |
double |
doubleValue() |
boolean |
equals(Object other) |
float |
floatValue() |
static TLong |
getLong(String nm) |
static TLong |
getLong(String nm,
long val) |
static TLong |
getLong(String nm,
TLong val) |
int |
hashCode() |
static long |
highestOneBit(long i) |
int |
intValue() |
long |
longValue() |
static long |
lowestOneBit(long i) |
static int |
numberOfLeadingZeros(long i) |
static int |
numberOfTrailingZeros(long i) |
static long |
parseLong(String s) |
static long |
parseLong(String s,
int radix) |
static long |
remainderUnsigned(long dividend,
long divisor) |
static long |
reverse(long i) |
static long |
reverseBytes(long i) |
static long |
rotateLeft(long i,
int distance) |
static long |
rotateRight(long i,
int distance) |
static int |
signum(long i) |
static String |
toBinaryString(long i) |
static String |
toHexString(long i) |
static String |
toOctalString(long i) |
String |
toString() |
static String |
toString(long value) |
static String |
toString(long i,
int radix) |
static TLong |
valueOf(long value) |
static TLong |
valueOf(String s) |
static TLong |
valueOf(String s,
int radix) |
byteValue, shortValue
public static final long MIN_VALUE
public static final long MAX_VALUE
public static final int SIZE
public TLong(long value)
public TLong(String value) throws TNumberFormatException
TNumberFormatException
public static TLong valueOf(long value)
public static long parseLong(String s, int radix) throws TNumberFormatException
TNumberFormatException
public static long parseLong(String s) throws TNumberFormatException
TNumberFormatException
public static TLong valueOf(String s, int radix) throws TNumberFormatException
TNumberFormatException
public static TLong valueOf(String s) throws TNumberFormatException
TNumberFormatException
public static TLong decode(TString nm) throws TNumberFormatException
TNumberFormatException
public float floatValue()
floatValue
in class TNumber
public double doubleValue()
doubleValue
in class TNumber
public static String toString(long i, int radix)
public static String toHexString(long i)
public static String toOctalString(long i)
public static String toBinaryString(long i)
public static String toString(long value)
public static int compare(long a, long b)
public int compareTo(TLong other)
compareTo
in interface TComparable<TLong>
public static long highestOneBit(long i)
public static int numberOfLeadingZeros(long i)
public static int numberOfTrailingZeros(long i)
public static long lowestOneBit(long i)
public static int bitCount(long i)
public static long rotateLeft(long i, int distance)
public static long rotateRight(long i, int distance)
public static long reverse(long i)
public static long reverseBytes(long i)
public static int signum(long i)
public static long divideUnsigned(long dividend, long divisor)
public static long remainderUnsigned(long dividend, long divisor)
Copyright © 2019. All rights reserved.