public class UInt16 extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.UInt16
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.UInt16
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
UInt16() |
UInt16(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static UInt16 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UInt16, a cast assert is made to check if types are compatible. |
static UInt16 |
Clamp(UInt16 value,
UInt16 min,
UInt16 max) |
int |
CompareTo(NetObject value) |
int |
CompareTo(UInt16 value) |
boolean |
Equals(UInt16 obj) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
TypeCode |
GetTypeCode() |
static boolean |
IsEvenInteger(UInt16 value) |
static boolean |
IsOddInteger(UInt16 value) |
static boolean |
IsPow2(UInt16 value) |
static UInt16 |
LeadingZeroCount(UInt16 value) |
static UInt16 |
Log2(UInt16 value) |
static UInt16 |
Max(UInt16 x,
UInt16 y) |
static UInt16 |
Min(UInt16 x,
UInt16 y) |
static UInt16 |
Parse(java.lang.String s) |
static UInt16 |
Parse(java.lang.String s,
IFormatProvider provider) |
static UInt16 |
Parse(java.lang.String s,
NumberStyles style) |
static UInt16 |
Parse(java.lang.String s,
NumberStyles style,
IFormatProvider provider) |
static UInt16 |
PopCount(UInt16 value) |
static UInt16 |
RotateLeft(UInt16 value,
int rotateAmount) |
static UInt16 |
RotateRight(UInt16 value,
int rotateAmount) |
void |
setJCOInstance(JCObject instance) |
static int |
Sign(UInt16 value) |
java.lang.String |
ToString(IFormatProvider provider) |
java.lang.String |
ToString(java.lang.String format) |
java.lang.String |
ToString(java.lang.String format,
IFormatProvider provider) |
static UInt16 |
TrailingZeroCount(UInt16 value) |
static boolean |
TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<UInt16> result) |
static boolean |
TryParse(java.lang.String s,
JCORefOut<UInt16> result) |
static boolean |
TryParse(java.lang.String s,
NumberStyles style,
IFormatProvider provider,
JCORefOut<UInt16> result) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public UInt16()
throws java.lang.Throwable
java.lang.Throwablepublic UInt16(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static UInt16 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UInt16, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUInt16 instancejava.lang.Throwable - in case of error during cast operationpublic static UInt16 Clamp(UInt16 value, UInt16 min, UInt16 max) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public int CompareTo(UInt16 value) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(UInt16 obj) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic TypeCode GetTypeCode() throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsEvenInteger(UInt16 value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsOddInteger(UInt16 value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsPow2(UInt16 value) throws java.lang.Throwable
java.lang.Throwablepublic static UInt16 LeadingZeroCount(UInt16 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static UInt16 Log2(UInt16 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static UInt16 Max(UInt16 x, UInt16 y) throws java.lang.Throwable
java.lang.Throwablepublic static UInt16 Min(UInt16 x, UInt16 y) throws java.lang.Throwable
java.lang.Throwablepublic static UInt16 Parse(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException
public static UInt16 Parse(java.lang.String s, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException
public static UInt16 Parse(java.lang.String s, NumberStyles style) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException
public static UInt16 Parse(java.lang.String s, NumberStyles style, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, FormatException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionpublic static UInt16 PopCount(UInt16 value) throws java.lang.Throwable
java.lang.Throwablepublic static UInt16 RotateLeft(UInt16 value, int rotateAmount) throws java.lang.Throwable
java.lang.Throwablepublic static UInt16 RotateRight(UInt16 value, int rotateAmount) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static int Sign(UInt16 value) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException
public java.lang.String ToString(java.lang.String format,
IFormatProvider provider)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException
public static UInt16 TrailingZeroCount(UInt16 value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static boolean TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<UInt16> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
IndexOutOfRangeException
public static boolean TryParse(java.lang.String s,
JCORefOut<UInt16> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException,
IndexOutOfRangeException
public static boolean TryParse(java.lang.String s,
NumberStyles style,
IFormatProvider provider,
JCORefOut<UInt16> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CultureNotFoundException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNullReferenceException