|
StableComparerTCompare Method
|
Compares two objects and returns a value indicating
whether one is less than, equal to, or greater than
the other.
Namespace:
Accord.Math.Comparers
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public int Compare(
KeyValuePair<int, T> x,
KeyValuePair<int, T> y
)
Public Function Compare (
x As KeyValuePair(Of Integer, T),
y As KeyValuePair(Of Integer, T)
) As Integer
Request Example
View SourceParameters
- x
- Type: System.Collections.GenericKeyValuePairInt32, T
The first object to compare. - y
- Type: System.Collections.GenericKeyValuePairInt32, T
The second object to compare.
Return Value
Type:
Int32A signed integer that indicates the relative values of x and y.
See Also