Method to construct a Comparison from two objects of type T (tupled form). The sense of the result of this comparison is the same as, for example, Double.compare(t1, t2).
Method to construct a Comparison from two objects of type T (tupled form). The sense of the result of this comparison is the same as, for example, Double.compare(t1, t2).
Type parameters
T
the type of both t1 and t2, such type providing a given Comparer[T].
Value parameters
t1
the first T.
t2
the second T.
Attributes
Returns
a Comparison, resulting from applying the comparer to the tuple of t1 and t2.