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