KeyValuePair<T,U>

Overview

Location

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

 

constructor .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

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:

constructor init ToffeeV2

 

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

Parameters:

  • aKey:
  • aValue:

description  override Toffee, ToffeeV2

 

func description() -> NSString

Equals (Object): Boolean  virtual .NET, .NET Standard 2.0, 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 (Object): Boolean  virtual ToffeeV2

 

func Equals(_ Obj: Object) -> Boolean

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-UIKit for Mac-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, ToffeeV2

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
func hash() -> UInt64
// Toffee-watchOS, Toffee-watchOS Simulator
func hash() -> UInt32
// ToffeeV2
func hash() -> NativeUInt

hashCode Cooper

 

method hashCode: Integer

 

Integer hashCode()

 

func hashCode() -> Integer

 

Integer hashCode()

isEqual  override Toffee, ToffeeV2

 

// Toffee
func isEqual(_ obj: NSObject) -> Boolean
// ToffeeV2
func isEqual(_ obj: Object) -> Boolean

Parameters:

  • obj:

Key

 

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

 

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

 

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

 

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

 

Tuple2<T, U> Tuple { __get; }

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; }

Tuple

 

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

 

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

 

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

 

Tuple2<T, U> Tuple { __get; }

Value

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

constructor init ToffeeV2

 

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

Parameters:

  • aKey:
  • aValue:

constructor .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

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, ToffeeV2

 

func description() -> NSString

Equals (Object): Boolean  virtual .NET, .NET Standard 2.0, 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 (Object): Boolean  virtual ToffeeV2

 

func Equals(_ Obj: Object) -> Boolean

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-UIKit for Mac-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, ToffeeV2

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
func hash() -> UInt64
// Toffee-watchOS, Toffee-watchOS Simulator
func hash() -> UInt32
// ToffeeV2
func hash() -> NativeUInt

hashCode Cooper

 

method hashCode: Integer

 

Integer hashCode()

 

func hashCode() -> Integer

 

Integer hashCode()

isEqual  override Toffee, ToffeeV2

 

// Toffee
func isEqual(_ obj: NSObject) -> Boolean
// ToffeeV2
func isEqual(_ obj: Object) -> Boolean

Parameters:

  • obj:

ToString  virtual

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> PlatformString

 

PlatformString ToString()