|
KeyValuePairComparerTKey, TValueCompare Method (KeyValuePairTKey, TValue, KeyValuePairTKey, TValue)
|
Compares two objects and returns a value indicating whether
one is less than, equal to, or greater than the other.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public override int Compare(
KeyValuePair<TKey, TValue> x,
KeyValuePair<TKey, TValue> y
)
Public Overrides Function Compare (
x As KeyValuePair(Of TKey, TValue),
y As KeyValuePair(Of TKey, TValue)
) As Integer
Request Example
View SourceParameters
- x
- Type: System.Collections.GenericKeyValuePairTKey, TValue
The first object to compare. - y
- Type: System.Collections.GenericKeyValuePairTKey, TValue
The second object to compare.
Return Value
Type:
Int32See Also