Table of Contents

Class Short

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class Short : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable, INativeConvertible<Short, short>
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
Short
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Short()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Short()

Short(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Short(params object[] args)

Parameters

args object[]

Properties

BYTES

public static int BYTES { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MAX_VALUE

public static short MAX_VALUE { get; }

Property Value

short

MIN_VALUE

public static short MIN_VALUE { get; }

Property Value

short

SIZE

public static int SIZE { get; }

Property Value

int

TYPE

public static Class TYPE { get; }

Property Value

Class

Methods

Compare(short, short)

public static int Compare(short arg0, short arg1)

Parameters

arg0 short

short

arg1 short

short

Returns

int

int

CompareTo(Short)

public int CompareTo(Short arg0)

Parameters

arg0 Short

Short

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

CompareUnsigned(short, short)

public static int CompareUnsigned(short arg0, short arg1)

Parameters

arg0 short

short

arg1 short

short

Returns

int

int

Decode(String)

public static Short Decode(String arg0)

Parameters

arg0 String

String

Returns

Short

Short

Exceptions

NumberFormatException

HashCode(short)

public static int HashCode(short arg0)

Parameters

arg0 short

short

Returns

int

int

ParseShort(String)

public static short ParseShort(String arg0)

Parameters

arg0 String

String

Returns

short

short

Exceptions

NumberFormatException

ParseShort(String, int)

public static short ParseShort(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

short

short

Exceptions

NumberFormatException

ReverseBytes(short)

public static short ReverseBytes(short arg0)

Parameters

arg0 short

short

Returns

short

short

ToJVM(short)

Returns the Short from the clrValue instance

public static Short ToJVM(short clrValue)

Parameters

clrValue short

The short of CLR

Returns

Short

The converted Short

ToString(short)

public static String ToString(short arg0)

Parameters

arg0 short

short

Returns

String

String

ToUnsignedInt(short)

public static int ToUnsignedInt(short arg0)

Parameters

arg0 short

short

Returns

int

int

ToUnsignedLong(short)

public static long ToUnsignedLong(short arg0)

Parameters

arg0 short

short

Returns

long

long

ValueOf(String)

public static Short ValueOf(String arg0)

Parameters

arg0 String

String

Returns

Short

Short

Exceptions

NumberFormatException

ValueOf(String, int)

public static Short ValueOf(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

Short

Short

Exceptions

NumberFormatException

ValueOf(short)

public static Short ValueOf(short arg0)

Parameters

arg0 short

short

Returns

Short

Short

Operators

implicit operator Comparable(Short)

Converter from Short to Comparable

public static implicit operator Comparable(Short t)

Parameters

t Short

Returns

Comparable

implicit operator short(Short)

Converter from Short to short

public static implicit operator short(Short b)

Parameters

b Short

Returns

short

implicit operator short?(Short)

Converter from Short to Nullable<T>

public static implicit operator short?(Short b)

Parameters

b Short

Returns

short?

implicit operator Short(short)

Converter from short to Short

public static implicit operator Short(short b)

Parameters

b short

Returns

Short

implicit operator Short(short?)

Converter from Nullable<T> to Short

public static implicit operator Short(short? b)

Parameters

b short?

Returns

Short