Returns a negative integer iff x
comes beforey
in the ordering, returns 0 iff x
is the same in the ordering as y
, and returns a
positive number iff x
comes aftery
in the ordering.
Returns true
iff x
is equivalent to
y
in the ordering.
Returns true
iff y
comes before
x
in the ordering and is not the same as x
.
Returns true
iff y
comes before
x
in the ordering.
Returns true
iff x
comes before
y
in the ordering and is not the same as y
.
Returns true
iff x
comes before
y
in the ordering.
Returns the argument which comes later in the ordering.
Returns the argument which comes earlier in the ordering.
Given a function U => T, creates Ordering[U].
An Ordering is defined at all x and y.