Serializable
, Comparable<Long>
, Constable
, ConstantDesc
Fields
static final int
The number of bytes used to represent a long
value in two's complement binary form.
static final long
A constant holding the maximum value a long
can have, 263-1.
static final long
A constant holding the minimum value a long
can have, -263.
static final int
The number of bits used to represent a long
value in two's complement binary form.
The Class
instance representing the primitive type long
.
Constructors
Deprecated, for removal: This API element is subject to removal in a future version. Deprecated, for removal: This API element is subject to removal in a future version.static int
Returns the number of one-bits in the two's complement binary representation of the specified long
value.
byte
Returns the value of this Long
as a byte
after a narrowing primitive conversion.
static int
Compares two long
values numerically.
int
Compares two Long
objects numerically.
static int
Compares two long
values numerically treating the values as unsigned.
static long
Returns the value obtained by compressing the bits of the specified long
value, i
, in accordance with the specified bit mask.
Decodes a String
into a Long
.
Returns an
Optional
containing the nominal descriptor for this instance, which is the instance itself.
static long
Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
double
Returns the value of this Long
as a double
after a widening primitive conversion.
boolean
Compares this object to the specified object.
static long
Returns the value obtained by expanding the bits of the specified long
value, i
, in accordance with the specified bit mask.
float
Returns the value of this Long
as a float
after a widening primitive conversion.
Determines the long
value of the system property with the specified name.
Determines the long
value of the system property with the specified name.
Returns the long
value of the system property with the specified name.
int
Returns a hash code for this Long
.
static int
Returns a hash code for a long
value; compatible with Long.hashCode()
.
static long
Returns a long
value with at most a single one-bit, in the position of the highest-order ("leftmost") one-bit in the specified long
value.
int
Returns the value of this Long
as an int
after a narrowing primitive conversion.
long
Returns the value of this Long
as a long
value.
static long
Returns a long
value with at most a single one-bit, in the position of the lowest-order ("rightmost") one-bit in the specified long
value.
static long
Returns the greater of two
long
values as if by calling
Math.max
.
static long
Returns the smaller of two
long
values as if by calling
Math.min
.
static int
Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified long
value.
static int
Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary representation of the specified long
value.
static long
Parses the
CharSequence
argument as a signed
long
in the specified
radix
, beginning at the specified
beginIndex
and extending to
endIndex - 1
.
static long
Parses the string argument as a signed decimal long
.
static long
Parses the string argument as a signed long
in the radix specified by the second argument.
static long
Parses the
CharSequence
argument as an unsigned
long
in the specified
radix
, beginning at the specified
beginIndex
and extending to
endIndex - 1
.
static long
Parses the string argument as an unsigned decimal long
.
static long
Parses the string argument as an unsigned long
in the radix specified by the second argument.
static long
Returns the unsigned remainder from dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
Resolves this instance as a
ConstantDesc
, the result of which is the instance itself.
static long
Returns the value obtained by reversing the order of the bits in the two's complement binary representation of the specified long
value.
static long
Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified long
value.
static long
Returns the value obtained by rotating the two's complement binary representation of the specified long
value left by the specified number of bits.
static long
Returns the value obtained by rotating the two's complement binary representation of the specified long
value right by the specified number of bits.
short
Returns the value of this Long
as a short
after a narrowing primitive conversion.
static int
Returns the signum function of the specified long
value.
static long
Adds two long
values together as per the + operator.
Returns a string representation of the long
argument as an unsigned integer in base 2.
Returns a string representation of the long
argument as an unsigned integer in base 16.
Returns a string representation of the long
argument as an unsigned integer in base 8.
Returns a String
object representing this Long
's value.
Returns a String
object representing the specified long
.
Returns a string representation of the first argument in the radix specified by the second argument.
Returns a string representation of the argument as an unsigned decimal value.
Returns a string representation of the first argument as an unsigned integer value in the radix specified by the second argument.
Returns a Long
instance representing the specified long
value.
Returns a Long
object holding the value of the specified String
.
Returns a Long
object holding the value extracted from the specified String
when parsed with the radix given by the second argument.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4