KeyValuePair<T,U>

Overview

Location

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

KeyValuePair<T,U>()

 

init()

 

KeyValuePair<T,U>()

constructor (T, U)

 

constructor(aKey: T; aValue: U)

 

KeyValuePair<T,U>(T aKey, U aValue)

 

init(_ aKey: T, _ aValue: U)

 

KeyValuePair<T,U>(T aKey, U aValue)

Parameters:

  • aKey:
  • aValue:

Equals  override virtual

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

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

 

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

Key

 

property Key: T read;

 

T Key { get; }

 

var Key: T { get{} }

 

T Key { __get; }

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

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Value

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

Key

 

property Key: T read;

 

T Key { get; }

 

var Key: T { get{} }

 

T Key { __get; }

Value

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

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

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

KeyValuePair<T,U>()

 

init()

 

KeyValuePair<T,U>()

constructor (T, U)

 

constructor(aKey: T; aValue: U)

 

KeyValuePair<T,U>(T aKey, U aValue)

 

init(_ aKey: T, _ aValue: U)

 

KeyValuePair<T,U>(T aKey, U aValue)

Parameters:

  • aKey:
  • aValue:

Equals  override virtual

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj:

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

 

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

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()