Char

Overview

16 bits character type; strings are made out of this.

Location

Implements

 

constructor  protected    (declared in ValueType)

 

constructor

 

Char()

 

init()

 

Char()

 

Sub New()

CompareTo (Char): Int32

compares this value to another char, returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Char): Int32

 

Int32 CompareTo(Char a)

 

func CompareTo(_ a: Char) -> Int32

 

Int32 CompareTo(Char a)

 

Function CompareTo(a As Char) As Int32

Parameters:

  • a:

CompareTo (Object): Int32

compares this value to another char, 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)

 

Function CompareTo(a As Object) As Int32

Parameters:

  • a:

Equals (Object): Boolean  virtual    (declared in Object)

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

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)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj:

Equals (Char): Boolean

Compares this value to another, returns true if equal.

 

method Equals(other: Char): Boolean

 

Boolean Equals(Char other)

 

func Equals(_ other: Char) -> Boolean

 

Boolean Equals(Char other)

 

Function Equals(other As Char) As Boolean

Parameters:

  • other:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub 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()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

IsNumber

Check if a value is a number character.

 

class method IsNumber(aChar: Char): Boolean

 

static Boolean IsNumber(Char aChar)

 

static func IsNumber(_ aChar: Char) -> Boolean

 

static Boolean IsNumber(Char aChar)

 

Shared Function IsNumber(aChar As Char) As Boolean

Parameters:

  • aChar:

IsWhiteSpace

Check if a value is a whitespace character.

 

class method IsWhiteSpace(aChar: Char): Boolean

 

static Boolean IsWhiteSpace(Char aChar)

 

static func IsWhiteSpace(_ aChar: Char) -> Boolean

 

static Boolean IsWhiteSpace(Char aChar)

 

Shared Function IsWhiteSpace(aChar As Char) As Boolean

Parameters:

  • aChar:

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)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

ToLower

Lowercase this value.

 

method ToLower(aInvariant: Boolean): Char

 

Char ToLower(Boolean aInvariant)

 

func ToLower(_ aInvariant: Boolean) -> Char

 

Char ToLower(Boolean aInvariant)

 

Function ToLower(aInvariant As Boolean) As Char

Parameters:

  • aInvariant:

ToString  override virtual

Converts this char to it's string representation.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToUpper

Uppercase this value.

 

method ToUpper(aInvariant: Boolean): Char

 

Char ToUpper(Boolean aInvariant)

 

func ToUpper(_ aInvariant: Boolean) -> Char

 

Char ToUpper(Boolean aInvariant)

 

Function ToUpper(aInvariant As Boolean) As Char

Parameters:

  • aInvariant:

 

IsNumber

Check if a value is a number character.

 

class method IsNumber(aChar: Char): Boolean

 

static Boolean IsNumber(Char aChar)

 

static func IsNumber(_ aChar: Char) -> Boolean

 

static Boolean IsNumber(Char aChar)

 

Shared Function IsNumber(aChar As Char) As Boolean

Parameters:

  • aChar:

IsWhiteSpace

Check if a value is a whitespace character.

 

class method IsWhiteSpace(aChar: Char): Boolean

 

static Boolean IsWhiteSpace(Char aChar)

 

static func IsWhiteSpace(_ aChar: Char) -> Boolean

 

static Boolean IsWhiteSpace(Char aChar)

 

Shared Function IsWhiteSpace(aChar As Char) As Boolean

Parameters:

  • aChar:

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)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor  protected    (declared in ValueType)

 

constructor

 

Char()

 

init()

 

Char()

 

Sub New()

CompareTo (Char): Int32

compares this value to another char, returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Char): Int32

 

Int32 CompareTo(Char a)

 

func CompareTo(_ a: Char) -> Int32

 

Int32 CompareTo(Char a)

 

Function CompareTo(a As Char) As Int32

Parameters:

  • a:

CompareTo (Object): Int32

compares this value to another char, 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)

 

Function CompareTo(a As Object) As Int32

Parameters:

  • a:

Equals (Object): Boolean  virtual    (declared in Object)

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

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)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj:

Equals (Char): Boolean

Compares this value to another, returns true if equal.

 

method Equals(other: Char): Boolean

 

Boolean Equals(Char other)

 

func Equals(_ other: Char) -> Boolean

 

Boolean Equals(Char other)

 

Function Equals(other As Char) As Boolean

Parameters:

  • other:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub 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()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ToLower

Lowercase this value.

 

method ToLower(aInvariant: Boolean): Char

 

Char ToLower(Boolean aInvariant)

 

func ToLower(_ aInvariant: Boolean) -> Char

 

Char ToLower(Boolean aInvariant)

 

Function ToLower(aInvariant As Boolean) As Char

Parameters:

  • aInvariant:

ToString  override virtual

Converts this char to it's string representation.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToUpper

Uppercase this value.

 

method ToUpper(aInvariant: Boolean): Char

 

Char ToUpper(Boolean aInvariant)

 

func ToUpper(_ aInvariant: Boolean) -> Char

 

Char ToUpper(Boolean aInvariant)

 

Function ToUpper(aInvariant As Boolean) As Char

Parameters:

  • aInvariant: