KeyValuePair<T,U>
Overview
Result of iterating a dictionary or dictionary like structure.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
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)
Sub New(aKey As T, aValue As U)
Parameters:
- aKey:
- aValue:
description override Toffee, ToffeeV2
func description() -> NSString
equals Cooper
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:
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-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-visionOS, Toffee-visionOS Simulator, Toffee-watchOS Simulator
func hash() -> UInt64
// ToffeeV2
func hash() -> NativeUInt
// Toffee-watchOS
func hash() -> UInt32
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 Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString
Tuple
property Tuple: tuple of (T, U) read;
(T, U) Tuple { get; }
var Tuple: tuple of (T, U) { get{} }
Tuple2<T, U> Tuple { __get; }
ReadOnly Property Tuple() As Tuple (Of 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
property Tuple: tuple of (T, U) read;
(T, U) Tuple { get; }
var Tuple: tuple of (T, U) { get{} }
Tuple2<T, U> Tuple { __get; }
ReadOnly Property Tuple() As Tuple (Of T, U)
Value
property Value: U read;
U Value { get; }
var Value: U { get{} }
U Value { __get; }
ReadOnly Property Value() As U
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)
Sub New(aKey As T, aValue As U)
Parameters:
- aKey:
- aValue:
description override Toffee, ToffeeV2
func description() -> NSString
equals Cooper
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:
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-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-visionOS, Toffee-visionOS Simulator, Toffee-watchOS Simulator
func hash() -> UInt64
// ToffeeV2
func hash() -> NativeUInt
// Toffee-watchOS
func hash() -> UInt32
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 Cooper
method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString