Java.Lang.Short Members

The members of Java.Lang.Short are listed below.

See Also: Inherited members from Java.Lang.Number

Public Constructors

Constructs a new Short with the specified primitive short value.
Constructs a new Short from the specified string.

Public Fields

const
MaxValueshort (32767). Constant for the maximum short value, 215-1.
const
MinValueshort (-32768). Constant for the minimum short value, -215.
const
Sizeint (16). Constant for the number of bits needed to represent a short in two's complement form.

Public Properties

[read-only]
static
TypeClass. The Java.Lang.Class object that represents the primitive type short.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Compare(short, short) : int
Compares two short values.
CompareTo(Short) : int
Compares this object to the specified short object to determine their relative order.
static
Decode(string) : Short
Parses the specified string and returns a Short instance if the string can be decoded into a short value.
override
DoubleValue() : double
Returns this object's value as a double.
override
FloatValue() : float
Returns this object's value as a float.
override
IntValue() : int
Returns this object's value as an int.
override
LongValue() : long
Returns this object's value as a long.
static
ParseShort(string) : short
Parses the specified string as a signed decimal short value.
static
ParseShort(string, int) : short
Parses the specified string as a signed short value using the specified radix.
static
ReverseBytes(short) : short
Reverses the bytes of the specified short.
static
ToString(short) : string
Returns a string containing a concise, human-readable description of the specified short value with radix 10.
static
ValueOf(short) : Short
Returns a Short instance for the specified short value.
static
ValueOf(string) : Short
Parses the specified string as a signed decimal short value.
static
ValueOf(string, int) : Short
Parses the specified string as a signed short value using the specified radix.

Public Operators

static
Conversion to System.Int16(Explicit)Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

Java.Lang.IComparable.CompareToDocumentation for this section has not yet been entered.