Serializable
, Comparable<Short>
, Constable
Fields
static final int
The number of bytes used to represent a short
value in two's complement binary form.
static final short
A constant holding the maximum value a short
can have, 215-1.
static final short
A constant holding the minimum value a short
can have, -215.
static final int
The number of bits used to represent a short
value in two's complement binary form.
The Class
instance representing the primitive type short
.
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.byte
Returns the value of this Short
as a byte
after a narrowing primitive conversion.
static int
Compares two short
values numerically.
int
Compares two Short
objects numerically.
static int
Compares two short
values numerically treating the values as unsigned.
Decodes a String
into a Short
.
Returns an
Optional
containing the nominal descriptor for this instance.
double
Returns the value of this Short
as a double
after a widening primitive conversion.
boolean
Compares this object to the specified object.
float
Returns the value of this Short
as a float
after a widening primitive conversion.
int
Returns a hash code for this Short
; equal to the result of invoking intValue()
.
static int
Returns a hash code for a short
value; compatible with Short.hashCode()
.
int
Returns the value of this Short
as an int
after a widening primitive conversion.
long
Returns the value of this Short
as a long
after a widening primitive conversion.
static short
Parses the string argument as a signed decimal short
.
static short
Parses the string argument as a signed short
in the radix specified by the second argument.
static short
Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified short
value.
short
Returns the value of this Short
as a short
.
Returns a String
object representing this Short
's value.
Returns a new String
object representing the specified short
.
static int
Converts the argument to an int
by an unsigned conversion.
static long
Converts the argument to a long
by an unsigned conversion.
Returns a Short
instance representing the specified short
value.
Returns a Short
object holding the value given by the specified String
.
Returns a Short
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