Compare the two values, sequentially Triple.First, then Triple.Second if
Triple.First are equal, then Triple.Third if Triple.Second is equal.
Namespace:
Sasa
Assembly:
Sasa (in Sasa.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function CompareTo ( _
other As Triple(Of T, U, V) _
) As Integer |
| C# |
|---|
public int CompareTo(
Triple<T, U, V> other
) |
| Visual C++ |
|---|
public:
virtual int CompareTo(
Triple<T, U, V> other
) sealed |
| JavaScript |
|---|
function compareTo(other); |
Return Value
The ordering compares Triple.First first, and only compares
Triple.Second and Triple.Third if Triple.First is equal and so cannot
establish an ordering.
Implements
IComparable<(Of <(T>)>)..::.CompareTo(T)
See Also