KeyValuePair<T,U>

Overview

Result of iterating a dictionary or dictionary like structure.

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)

 

Sub New(aKey As T, aValue As U)

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)

 

Function Equals(Obj As Object) As Boolean

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

 

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

Parameters:

  • Obj:

GetHashCode  virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Integer GetHashCode()

 

Function GetHashCode() As Int32

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

 

Function hashCode() As Integer

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

 

ReadOnly Property Key() As T

ToString  virtual

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> PlatformString

 

PlatformString ToString()

 

Function ToString() As PlatformString

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, Toffee, ToffeeV2
var Tuple: (T, U) { get{} }
// .NET Standard 2.0
var Tuple: ValueTuple<T, U> { get{} }

 

Tuple2<T, U> Tuple { __get; }

 

// .NET, Island
ReadOnly Property Tuple() As Tuple (Of T, U)
// .NET Standard 2.0
ReadOnly Property Tuple() As ValueTuple<T, U>

Value

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

ReadOnly Property Value() As U

 

Key

 

property Key: T read;

 

T Key { get; }

 

var Key: T { get{} }

 

T Key { __get; }

 

ReadOnly Property Key() As T

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, Toffee, ToffeeV2
var Tuple: (T, U) { get{} }
// .NET Standard 2.0
var Tuple: ValueTuple<T, U> { get{} }

 

Tuple2<T, U> Tuple { __get; }

 

// .NET, Island
ReadOnly Property Tuple() As Tuple (Of T, U)
// .NET Standard 2.0
ReadOnly Property Tuple() As ValueTuple<T, U>

Value

 

property Value: U read;

 

U Value { get; }

 

var Value: U { get{} }

 

U Value { __get; }

 

ReadOnly Property Value() As U

 

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)

 

Sub New(aKey As T, aValue As 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)

 

Function Equals(Obj As Object) As Boolean

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

 

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

Parameters:

  • Obj:

GetHashCode  virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Integer GetHashCode()

 

Function GetHashCode() As Int32

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

 

Function hashCode() As Integer

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

 

Function ToString() As PlatformString