KeyValuePair<T,U>
Overview
Location
- Reference: Sugar
- Namespace: Sugar.Collections
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:
Equals
Parameters:
- Obj:
GetHashCode
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetTuple
method GetTuple: tuple of (T, U)
(T, U) GetTuple()
func GetTuple() -> (T, U)
Tuple2<T, U> GetTuple()
Function GetTuple() As Tuple (Of T, U)
Key
property Key: T read;
T Key { get; }
var Key: T { get{} }
T Key { __get; }
ReadOnly Property Key() As T
ToString
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
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
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:
Equals
Parameters:
- Obj:
GetHashCode
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetTuple
method GetTuple: tuple of (T, U)
(T, U) GetTuple()
func GetTuple() -> (T, U)
Tuple2<T, U> GetTuple()
Function GetTuple() As Tuple (Of T, U)
ToString