Package system
Class Single
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Single extends ValueType
The base .NET class managing System.Single, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e.See: https://docs.microsoft.com/en-us/dotnet/api/System.Single
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic String
assemblyShortName
Assembly name: System.Private.CoreLibstatic String
className
Qualified class name: System.Singlestatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Single
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSingle
, a cast assert is made to check if types are compatible.int
CompareTo(NetObject value)
int
CompareTo(Single value)
boolean
Equals(Single obj)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeTypeCode
GetTypeCode()
static boolean
IsFinite(Single f)
static boolean
IsInfinity(Single f)
static boolean
IsNaN(Single f)
static boolean
IsNegative(Single f)
static boolean
IsNegativeInfinity(Single f)
static boolean
IsNormal(Single f)
static boolean
IsPositiveInfinity(Single f)
static boolean
IsSubnormal(Single f)
static Single
Parse(String s)
static Single
Parse(String s, NumberStyles style)
static Single
Parse(String s, NumberStyles style, IFormatProvider provider)
static Single
Parse(String s, IFormatProvider provider)
void
setJCOInstance(JCObject instance)
boolean
ToBoolean(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.byte
ToByte(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.char
ToChar(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.DateTime
ToDateTime(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.Decimal
ToDecimal(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.double
ToDouble(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.short
ToInt16(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.int
ToInt32(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.long
ToInt64(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.SByte
ToSByte(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.Single
ToSingle(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.String
ToString(String format)
String
ToString(String format, IFormatProvider provider)
String
ToString(IFormatProvider provider)
NetObject
ToType(NetType conversionType, IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.UInt16
ToUInt16(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.UInt32
ToUInt32(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.UInt64
ToUInt64(IFormatProvider provider)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.static boolean
TryParse(String s, JCORefOut<Single> result)
static boolean
TryParse(String s, NumberStyles style, IFormatProvider provider, JCORefOut<Single> result)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Single- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Single cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoSingle
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Single
instance- Throws:
Throwable
- in case of error during cast operation
-
IsFinite
public static boolean IsFinite(Single f) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
-
IsInfinity
public static boolean IsInfinity(Single f) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
-
IsNegative
public static boolean IsNegative(Single f) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
-
IsNegativeInfinity
public static boolean IsNegativeInfinity(Single f) throws Throwable
- Throws:
Throwable
-
IsNormal
public static boolean IsNormal(Single f) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
-
IsPositiveInfinity
public static boolean IsPositiveInfinity(Single f) throws Throwable
- Throws:
Throwable
-
IsSubnormal
public static boolean IsSubnormal(Single f) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
-
TryParse
public static boolean TryParse(String s, JCORefOut<Single> result) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, TypeInitializationException, OutOfMemoryException, ExternalException, OverflowException
-
TryParse
public static boolean TryParse(String s, NumberStyles style, IFormatProvider provider, JCORefOut<Single> result) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OutOfMemoryException
ExternalException
OverflowException
-
CompareTo
public int CompareTo(NetObject value) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, RankException, CultureNotFoundException, ObjectDisposedException
-
Parse
public static Single Parse(String s, NumberStyles style, IFormatProvider provider) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OutOfMemoryException
ExternalException
OverflowException
-
Parse
public static Single Parse(String s, NumberStyles style) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, TypeInitializationException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
TypeInitializationException
OutOfMemoryException
ExternalException
OverflowException
-
Parse
public static Single Parse(String s, IFormatProvider provider) throws Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ArgumentNullException
ObjectDisposedException
RankException
CultureNotFoundException
OutOfMemoryException
ExternalException
OverflowException
-
Parse
public static Single Parse(String s) throws Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, CultureNotFoundException, TypeInitializationException, OutOfMemoryException, ExternalException, OverflowException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ArgumentNullException
ObjectDisposedException
RankException
CultureNotFoundException
TypeInitializationException
OutOfMemoryException
ExternalException
OverflowException
-
ToString
public String ToString(IFormatProvider provider) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException
-
ToString
public String ToString(String format, IFormatProvider provider) throws Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException
-
ToString
public String ToString(String format) throws Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, TypeInitializationException, NotSupportedException, FormatException
-
ToBoolean
@Deprecated public boolean ToBoolean(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToByte
@Deprecated public byte ToByte(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToChar
@Deprecated public char ToChar(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToDouble
@Deprecated public double ToDouble(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToInt16
@Deprecated public short ToInt16(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToInt32
@Deprecated public int ToInt32(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToInt64
@Deprecated public long ToInt64(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToSByte
@Deprecated public SByte ToSByte(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToSingle
@Deprecated public Single ToSingle(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToDateTime
@Deprecated public DateTime ToDateTime(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToDecimal
@Deprecated public Decimal ToDecimal(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToType
@Deprecated public NetObject ToType(NetType conversionType, IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToUInt16
@Deprecated public UInt16 ToUInt16(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToUInt32
@Deprecated public UInt32 ToUInt32(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
ToUInt64
@Deprecated public UInt64 ToUInt64(IFormatProvider provider) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method- Throws:
Throwable
-
-