Single

Overview

Location

Implements

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

Single()

 

init()

 

Single()

CompareTo (Object): Int32

Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Object): Int32

 

Int32 CompareTo(Object a)

 

func CompareTo(_ a: Object) -> Int32

 

Int32 CompareTo(Object a)

Parameters:

  • a:

CompareTo (Single): Int32

Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Single): Int32

 

Int32 CompareTo(Single a)

 

func CompareTo(_ a: Single) -> Int32

 

Int32 CompareTo(Single a)

Parameters:

  • a:

Equals (Object): Boolean  override virtual

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Equals (Single): Boolean

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(other: Single): Boolean

 

Boolean Equals(Single other)

 

func Equals(_ other: Single) -> Boolean

 

Boolean Equals(Single other)

Parameters:

  • other:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  override virtual

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

IsInfinity

Returns true if the value is positive or negative infinity.

 

class method IsInfinity(Value: Single): Boolean

 

static Boolean IsInfinity(Single Value)

 

static func IsInfinity(_ Value: Single) -> Boolean

 

static Boolean IsInfinity(Single Value)

Parameters:

  • Value:

IsNaN

Returns true if the value is NaN.

 

class method IsNaN(Value: Single): Boolean

 

static Boolean IsNaN(Single Value)

 

static func IsNaN(_ Value: Single) -> Boolean

 

static Boolean IsNaN(Single Value)

Parameters:

  • Value:

IsNegativeInfinity

Returns true if the value is negative infinity.

 

class method IsNegativeInfinity(Value: Single): Boolean

 

static Boolean IsNegativeInfinity(Single Value)

 

static func IsNegativeInfinity(_ Value: Single) -> Boolean

 

static Boolean IsNegativeInfinity(Single Value)

Parameters:

  • Value:

IsPositiveInfinity

Returns true if the value is positive infinity.

 

class method IsPositiveInfinity(Value: Single): Boolean

 

static Boolean IsPositiveInfinity(Single Value)

 

static func IsPositiveInfinity(_ Value: Single) -> Boolean

 

static Boolean IsPositiveInfinity(Single Value)

Parameters:

  • Value:

MaxValue

Contain the max value this type can hold.

 

class method MaxValue: Single

 

static Single MaxValue()

 

static func MaxValue() -> Single

 

static Single MaxValue()

MinValue

Contains the minimum value this type can hold.

 

class method MinValue: Single

 

static Single MinValue()

 

static func MinValue() -> Single

 

static Single MinValue()

NAN

Returns the value for NaN.

 

class method NAN: Single

 

static Single NAN()

 

static func NAN() -> Single

 

static Single NAN()

NegativeInfinity

Contains negative infinity.

 

class method NegativeInfinity: Single

 

static Single NegativeInfinity()

 

static func NegativeInfinity() -> Single

 

static Single NegativeInfinity()

Parse (String): Single

Parses a string to a single.

 

class method Parse(s: String): Single

 

static Single Parse(String s)

 

static func Parse(_ s: String) -> Single

 

static Single Parse(String s)

Parameters:

  • s:

Parse (String, Locale): Single

Parses a string to a single.

 

class method Parse(s: String; aLocale: Locale): Single

 

static Single Parse(String s, Locale aLocale)

 

static func Parse(_ s: String, _ aLocale: Locale) -> Single

 

static Single Parse(String s, Locale aLocale)

Parameters:

  • s:
  • aLocale:

PositiveInfinity

Contains positive infinity.

 

class method PositiveInfinity: Single

 

static Single PositiveInfinity()

 

static func PositiveInfinity() -> Single

 

static Single PositiveInfinity()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

ToString  override virtual

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

ToString (Locale): String

Gets the string representation of this method.

 

method ToString(aLocale: Locale): String

 

String ToString(Locale aLocale)

 

func ToString(_ aLocale: Locale) -> String

 

String ToString(Locale aLocale)

Parameters:

  • aLocale:

TryParse (String, Locale, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; aLocale: Locale; out Value: Single): Boolean

 

static Boolean TryParse(String s, Locale aLocale, out Single Value)

 

static func TryParse(_ s: String, _ aLocale: Locale, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, Locale aLocale, __out Single Value)

Parameters:

  • s:
  • aLocale:
  • Value:

TryParse (String, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; out Value: Single): Boolean

 

static Boolean TryParse(String s, out Single Value)

 

static func TryParse(_ s: String, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, __out Single Value)

Parameters:

  • s:
  • Value:

 

IsInfinity

Returns true if the value is positive or negative infinity.

 

class method IsInfinity(Value: Single): Boolean

 

static Boolean IsInfinity(Single Value)

 

static func IsInfinity(_ Value: Single) -> Boolean

 

static Boolean IsInfinity(Single Value)

Parameters:

  • Value:

IsNaN

Returns true if the value is NaN.

 

class method IsNaN(Value: Single): Boolean

 

static Boolean IsNaN(Single Value)

 

static func IsNaN(_ Value: Single) -> Boolean

 

static Boolean IsNaN(Single Value)

Parameters:

  • Value:

IsNegativeInfinity

Returns true if the value is negative infinity.

 

class method IsNegativeInfinity(Value: Single): Boolean

 

static Boolean IsNegativeInfinity(Single Value)

 

static func IsNegativeInfinity(_ Value: Single) -> Boolean

 

static Boolean IsNegativeInfinity(Single Value)

Parameters:

  • Value:

IsPositiveInfinity

Returns true if the value is positive infinity.

 

class method IsPositiveInfinity(Value: Single): Boolean

 

static Boolean IsPositiveInfinity(Single Value)

 

static func IsPositiveInfinity(_ Value: Single) -> Boolean

 

static Boolean IsPositiveInfinity(Single Value)

Parameters:

  • Value:

MaxValue

Contain the max value this type can hold.

 

class method MaxValue: Single

 

static Single MaxValue()

 

static func MaxValue() -> Single

 

static Single MaxValue()

MinValue

Contains the minimum value this type can hold.

 

class method MinValue: Single

 

static Single MinValue()

 

static func MinValue() -> Single

 

static Single MinValue()

NAN

Returns the value for NaN.

 

class method NAN: Single

 

static Single NAN()

 

static func NAN() -> Single

 

static Single NAN()

NegativeInfinity

Contains negative infinity.

 

class method NegativeInfinity: Single

 

static Single NegativeInfinity()

 

static func NegativeInfinity() -> Single

 

static Single NegativeInfinity()

Parse (String): Single

Parses a string to a single.

 

class method Parse(s: String): Single

 

static Single Parse(String s)

 

static func Parse(_ s: String) -> Single

 

static Single Parse(String s)

Parameters:

  • s:

Parse (String, Locale): Single

Parses a string to a single.

 

class method Parse(s: String; aLocale: Locale): Single

 

static Single Parse(String s, Locale aLocale)

 

static func Parse(_ s: String, _ aLocale: Locale) -> Single

 

static Single Parse(String s, Locale aLocale)

Parameters:

  • s:
  • aLocale:

PositiveInfinity

Contains positive infinity.

 

class method PositiveInfinity: Single

 

static Single PositiveInfinity()

 

static func PositiveInfinity() -> Single

 

static Single PositiveInfinity()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

TryParse (String, Locale, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; aLocale: Locale; out Value: Single): Boolean

 

static Boolean TryParse(String s, Locale aLocale, out Single Value)

 

static func TryParse(_ s: String, _ aLocale: Locale, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, Locale aLocale, __out Single Value)

Parameters:

  • s:
  • aLocale:
  • Value:

TryParse (String, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; out Value: Single): Boolean

 

static Boolean TryParse(String s, out Single Value)

 

static func TryParse(_ s: String, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, __out Single Value)

Parameters:

  • s:
  • Value:

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

Single()

 

init()

 

Single()

CompareTo (Object): Int32

Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Object): Int32

 

Int32 CompareTo(Object a)

 

func CompareTo(_ a: Object) -> Int32

 

Int32 CompareTo(Object a)

Parameters:

  • a:

CompareTo (Single): Int32

Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Single): Int32

 

Int32 CompareTo(Single a)

 

func CompareTo(_ a: Single) -> Int32

 

Int32 CompareTo(Single a)

Parameters:

  • a:

Equals (Object): Boolean  override virtual

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Equals (Single): Boolean

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(other: Single): Boolean

 

Boolean Equals(Single other)

 

func Equals(_ other: Single) -> Boolean

 

Boolean Equals(Single other)

Parameters:

  • other:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  override virtual

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToString  override virtual

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

ToString (Locale): String

Gets the string representation of this method.

 

method ToString(aLocale: Locale): String

 

String ToString(Locale aLocale)

 

func ToString(_ aLocale: Locale) -> String

 

String ToString(Locale aLocale)

Parameters:

  • aLocale: