Java.Lang.Short Class
The wrapper for the primitive type short.
See Also: Short
Syntax
[Android.Runtime.Register("java/lang/Short", DoNotGenerateAcw=true)]
public sealed class Short : Number, IComparable, IDisposable
public sealed class Short : Number, IComparable, IDisposable
Remarks
Requirements
Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Java.Lang.Short are listed below.
See Also: Number
Public Constructors
Public Fields
Public Properties
Protected Properties
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Public Methods
static | Compare(Int16, Int16)Compares two short values. | |
CompareTo(Short)Compares this object to the specified short object to determine their relative order. | ||
static | Decode(String)Parses the specified string and returns a Short instance if the string can be decoded into a short value. | |
override | DoubleValue()Returns this object's value as a double. | |
override | FloatValue()Returns this object's value as a float. | |
override | IntValue()Returns this object's value as an int. | |
override | LongValue()Returns this object's value as a long. | |
static | ParseShort(String)Parses the specified string as a signed decimal short value. | |
static | ParseShort(String, Int32)Parses the specified string as a signed short value using the specified radix. | |
static | ReverseBytes(Int16)Reverses the bytes of the specified short. | |
static | ToString(Int16)Returns a string containing a concise, human-readable description of the specified short value with radix 10. | |
static | ValueOf(Int16)Returns a Short instance for the specified short value. | |
static | ValueOf(String)Parses the specified string as a signed decimal short value. | |
static | ValueOf(String, Int32)Parses the specified string as a signed short value using the specified radix. |
Public Operators
static | Conversion to System.Int16(Explicit) |