Package system
Class Half
- java.lang.Object
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Half extends ValueType
The base .NET class managing System.Half, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e.See: https://docs.microsoft.com/en-us/dotnet/api/System.Half
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Halfstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Halfcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHalf, a cast assert is made to check if types are compatible.intCompareTo(NetObject obj)intCompareTo(Half other)booleanEquals(Half other)static HalfgetEpsilon()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic HalfgetMaxValue()static HalfgetMinValue()static HalfgetNaN()static HalfgetNegativeInfinity()static HalfgetPositiveInfinity()static booleanIsFinite(Half value)static booleanIsInfinity(Half value)static booleanIsNaN(Half value)static booleanIsNegative(Half value)static booleanIsNegativeInfinity(Half value)static booleanIsNormal(Half value)static booleanIsPositiveInfinity(Half value)static booleanIsSubnormal(Half value)static HalfParse(java.lang.String s)static HalfParse(java.lang.String s, NumberStyles style)static HalfParse(java.lang.String s, NumberStyles style, IFormatProvider provider)static HalfParse(java.lang.String s, IFormatProvider provider)voidsetJCOInstance(JCObject instance)java.lang.StringToString(java.lang.String format)java.lang.StringToString(java.lang.String format, IFormatProvider provider)java.lang.StringToString(IFormatProvider provider)static booleanTryParse(java.lang.String s, JCORefOut<Half> result)static booleanTryParse(java.lang.String s, NumberStyles style, IFormatProvider provider, JCORefOut<Half> result)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Half- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Half cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHalf, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Halfinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(Half other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsFinite
public static boolean IsFinite(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsInfinity
public static boolean IsInfinity(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsNaN
public static boolean IsNaN(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsNegative
public static boolean IsNegative(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsNegativeInfinity
public static boolean IsNegativeInfinity(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsNormal
public static boolean IsNormal(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsPositiveInfinity
public static boolean IsPositiveInfinity(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsSubnormal
public static boolean IsSubnormal(Half value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TryParse
public static boolean TryParse(java.lang.String s, NumberStyles style, IFormatProvider provider, JCORefOut<Half> result) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionOverflowException
-
TryParse
public static boolean TryParse(java.lang.String s, JCORefOut<Half> result) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, CultureNotFoundException, OverflowException
-
CompareTo
public int CompareTo(Half other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(NetObject obj) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
Parse
public static Half Parse(java.lang.String s, NumberStyles style, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, CultureNotFoundException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionOverflowException
-
Parse
public static Half Parse(java.lang.String s, NumberStyles style) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, CultureNotFoundException, TypeInitializationException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionTypeInitializationExceptionOutOfMemoryExceptionExternalExceptionOverflowException
-
Parse
public static Half Parse(java.lang.String s, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, OutOfMemoryException, ExternalException, OverflowException
-
Parse
public static Half Parse(java.lang.String s) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, TypeInitializationException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionTypeInitializationExceptionOutOfMemoryExceptionExternalExceptionOverflowException
-
ToString
public java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArgumentException, ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider provider) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArgumentException, ArrayTypeMismatchException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, TypeInitializationException, FormatException
-
getEpsilon
public static Half getEpsilon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMaxValue
public static Half getMaxValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMinValue
public static Half getMinValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNaN
public static Half getNaN() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNegativeInfinity
public static Half getNegativeInfinity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPositiveInfinity
public static Half getPositiveInfinity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-