-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_RangeBoundaryTo_1_CompareTo_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Compares the current boundary with another one. 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(
RangeBoundaryTo<T> other
)
VB
Public Function CompareTo (
other As RangeBoundaryTo(Of T)
) As Integer
F#
abstract CompareTo :
other : RangeBoundaryTo<'T> -> int
override CompareTo :
other : RangeBoundaryTo<'T> -> int
- other
- Type: CodeJam.Ranges.RangeBoundaryTo(T)
Boundary 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