|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number java.lang.Long
public final class Long
Wrapper class for long integers.
Field Summary | |
---|---|
static long |
MAX_VALUE
|
static long |
MIN_VALUE
|
static int |
SIZE
|
Constructor Summary | |
---|---|
Long(long value)
|
|
Long(String s)
|
Method Summary | |
---|---|
int |
bitCount(long v)
|
byte |
byteValue()
Return the byte value of this Number. |
int |
compareTo(Long ob)
Compares this with another Object. |
double |
doubleValue()
Return the double value of this Number. |
boolean |
equals(Object o)
|
float |
floatValue()
Return the float value of this Number. |
int |
hashCode()
|
static long |
highestOneBit(long v)
|
int |
intValue()
Return the int value of this Number. |
long |
longValue()
Return the long value of this Number. |
static long |
lowestOneBit(long v)
|
static int |
numberOfLeadingZeros(long v)
|
static int |
numberOfTrailingZeros(long v)
|
static long |
parseLong(String s)
|
static long |
parseLong(String s,
int radix)
|
static long |
reverse(long v)
|
static long |
reverseBytes(long v)
|
static long |
rotateLeft(long v,
int bits)
|
static long |
rotateRight(long v,
int bits)
|
short |
shortValue()
Return the short value of this Number. |
static int |
signnum(long i)
|
static String |
toBinaryString(long v)
|
static String |
toHexString(long v)
|
static String |
toOctalString(long v)
|
String |
toString()
|
static String |
toString(long v)
|
static String |
toString(long v,
int radix)
|
static Long |
valueOf(long v)
|
static Long |
valueOf(String s)
|
static Long |
valueOf(String s,
int radix)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long MAX_VALUE
public static final long MIN_VALUE
public static final int SIZE
Constructor Detail |
---|
public Long(long value)
public Long(String s)
Method Detail |
---|
public int bitCount(long v)
public byte byteValue()
Number
byteValue
in class Number
public int compareTo(Long ob)
Comparable
compareTo
in interface Comparable<Long>
ob
- the object to compare with
public double doubleValue()
Number
doubleValue
in class Number
public boolean equals(Object o)
equals
in class Object
public float floatValue()
Number
floatValue
in class Number
public int hashCode()
hashCode
in class Object
public static long highestOneBit(long v)
public int intValue()
Number
intValue
in class Number
public long longValue()
Number
longValue
in class Number
public static long lowestOneBit(long v)
public static int numberOfLeadingZeros(long v)
public static int numberOfTrailingZeros(long v)
public static long parseLong(String s)
public static long parseLong(String s, int radix)
public static long reverse(long v)
public static long reverseBytes(long v)
public static long rotateLeft(long v, int bits)
public static long rotateRight(long v, int bits)
public short shortValue()
Number
shortValue
in class Number
public static int signnum(long i)
public static String toBinaryString(long v)
public static String toOctalString(long v)
public static String toHexString(long v)
public String toString()
toString
in class Object
public static String toString(long v)
public static String toString(long v, int radix)
public static Long valueOf(long v)
public static Long valueOf(String s)
public static Long valueOf(String s, int radix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |