-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_RangeBoundaryTo_1_CompareTo_2
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Compares the current boundary with the value of another To boundary. Following order is used: '∅' < '+∞' < 'a)' < '[a' == 'a]' < '(a' < '-∞'.
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public int CompareTo(
T other
)
VB
Public Function CompareTo (
other As T
) As Integer
F#
abstract CompareTo :
other : 'T -> int
override CompareTo :
other : 'T -> int
- other
- Type: T
Boundary value to compare with this.
Type: Int32
A value that indicates the relative order of the objects being compared. The return value has the following meanings: * Less than zero This object is less than the other parameter. * Zero This object is equal to other. * Greater than zero This object is greater than other.
RangeBoundaryTo(T) Structure
CompareTo Overload
CodeJam.Ranges Namespace