KeyValuePair<T,U>

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Cooper
    • Elements.fx  Island
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL

 

constructor

 

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:

description  override Toffee

 

func description() -> NSString

Equals (Object): Boolean  virtual .NET, .NET Standard, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows, Toffee

 

method Equals(Obj: Object): Boolean

 

Boolean Equals(Object Obj)

 

func Equals(_ Obj: Object) -> Boolean

 

Boolean Equals(Object Obj)

Parameters:

  • Obj:

Equals (RemObjects.Elements.System.Island.Object): Boolean  override virtual Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

method Equals(Obj: RemObjects.Elements.System.Island.Object): Boolean

 

Boolean Equals(RemObjects.Elements.System.Island.Object Obj)

 

func Equals(_ Obj: RemObjects.Elements.System.Island.Object) -> Boolean

Parameters:

  • Obj:

GetHashCode  virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Integer GetHashCode()

hash  override Toffee

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS
func hash() -> UInt64
// Toffee-watchOS Simulator
func hash() -> UInt32

hashCode Cooper

 

method hashCode: Integer

 

Integer hashCode()

 

func hashCode() -> Integer

 

Integer hashCode()

isEqual  override Toffee

 

func isEqual(_ obj: NSObject) -> Boolean

Parameters:

  • obj:

Key  virtual

 

property Key: T read;

 

T Key { get; }

 

var Key: T { get{} }

 

T Key { __get; }

ToString  virtual

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> PlatformString

 

PlatformString ToString()

Tuple  virtual

 

// .NET, Island
property Tuple: tuple of (T, U) read;
// .NET Standard
property Tuple: ValueTuple<T, U> read;

 

// .NET, Island
(T, U) Tuple { get; }
// .NET Standard
ValueTuple<T, U> Tuple { get; }

 

// .NET, Island
var Tuple: (T, U) { get{} }
// .NET Standard
var Tuple: ValueTuple<T, U> { get{} }
// Toffee
var Tuple: Tuple2<T, U> { get{} }

 

Tuple2<T, U> Tuple { __get; }

Value  virtual

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

Key  virtual

 

property Key: T read;

 

T Key { get; }

 

var Key: T { get{} }

 

T Key { __get; }

Tuple  virtual

 

// .NET, Island
property Tuple: tuple of (T, U) read;
// .NET Standard
property Tuple: ValueTuple<T, U> read;

 

// .NET, Island
(T, U) Tuple { get; }
// .NET Standard
ValueTuple<T, U> Tuple { get; }

 

// .NET, Island
var Tuple: (T, U) { get{} }
// .NET Standard
var Tuple: ValueTuple<T, U> { get{} }
// Toffee
var Tuple: Tuple2<T, U> { get{} }

 

Tuple2<T, U> Tuple { __get; }

Value  virtual

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

constructor

 

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:

description  override Toffee

 

func description() -> NSString

Equals (Object): Boolean  virtual .NET, .NET Standard, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows, Toffee

 

method Equals(Obj: Object): Boolean

 

Boolean Equals(Object Obj)

 

func Equals(_ Obj: Object) -> Boolean

 

Boolean Equals(Object Obj)

Parameters:

  • Obj:

Equals (RemObjects.Elements.System.Island.Object): Boolean  override virtual Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-watchOS, Island-watchOS Simulator

 

method Equals(Obj: RemObjects.Elements.System.Island.Object): Boolean

 

Boolean Equals(RemObjects.Elements.System.Island.Object Obj)

 

func Equals(_ Obj: RemObjects.Elements.System.Island.Object) -> Boolean

Parameters:

  • Obj:

GetHashCode  virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Integer GetHashCode()

hash  override Toffee

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS
func hash() -> UInt64
// Toffee-watchOS Simulator
func hash() -> UInt32

hashCode Cooper

 

method hashCode: Integer

 

Integer hashCode()

 

func hashCode() -> Integer

 

Integer hashCode()

isEqual  override Toffee

 

func isEqual(_ obj: NSObject) -> Boolean

Parameters:

  • obj:

ToString  virtual

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> PlatformString

 

PlatformString ToString()