public final class Long extends Number implements Comparable<Long>
long
as an object.Modifier and Type | Field and Description |
---|---|
static int |
BYTES |
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) |
byte |
byteValue() |
static int |
compare(long x,
long y) |
int |
compareTo(Long b) |
static Long |
decode(String s) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
static int |
hashCode(long l) |
static long |
highestOneBit(long i) |
int |
intValue() |
long |
longValue() |
static long |
lowestOneBit(long i) |
static long |
max(long a,
long b) |
static long |
min(long a,
long b) |
static int |
numberOfLeadingZeros(long i) |
static int |
numberOfTrailingZeros(long i) |
static long |
parseLong(String s) |
static long |
parseLong(String s,
int radix) |
static long |
reverse(long i) |
static long |
reverseBytes(long i) |
static long |
rotateLeft(long i,
int distance) |
static long |
rotateRight(long i,
int distance) |
short |
shortValue() |
static int |
signum(long i) |
static long |
sum(long a,
long b) |
static String |
toBinaryString(long value) |
static String |
toHexString(long value) |
static String |
toOctalString(long value) |
String |
toString() |
static String |
toString(long value) |
static String |
toString(long value,
int intRadix) |
static Long |
valueOf(long i) |
static Long |
valueOf(String s) |
static Long |
valueOf(String s,
int radix) |
__decodeAndValidateInt, __decodeNumberString, __parseAndValidateDouble, __parseAndValidateInt, __parseAndValidateLong
$isInstance
public static final long MAX_VALUE
public static final long MIN_VALUE
public static final int SIZE
public static final int BYTES
public Long(long value)
public Long(String s)
public static int bitCount(long i)
public static int compare(long x, long y)
public static Long decode(String s) throws NumberFormatException
NumberFormatException
public static int hashCode(long l)
public static long highestOneBit(long i)
public static long lowestOneBit(long i)
public static long max(long a, long b)
public static long min(long a, long b)
public static int numberOfLeadingZeros(long i)
public static int numberOfTrailingZeros(long i)
public static long parseLong(String s) throws NumberFormatException
NumberFormatException
public static long parseLong(String s, int radix) throws NumberFormatException
NumberFormatException
public static long reverse(long i)
public static long reverseBytes(long i)
public static long rotateLeft(long i, int distance)
public static long rotateRight(long i, int distance)
public static int signum(long i)
public static long sum(long a, long b)
public static String toBinaryString(long value)
public static String toHexString(long value)
public static String toOctalString(long value)
public static String toString(long value)
public static String toString(long value, int intRadix)
public static Long valueOf(long i)
public static Long valueOf(String s) throws NumberFormatException
NumberFormatException
public static Long valueOf(String s, int radix) throws NumberFormatException
NumberFormatException
public int compareTo(Long b)
compareTo
in interface Comparable<Long>
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public short shortValue()
shortValue
in class Number
Copyright © 2018. All rights reserved.