cmp


Description:

[ Version ( since = "1.42" ) ]
public int cmp (Range b)

Compare two ranges.

Parameters:

this

a Range

b

another Range

Returns:

zero if the two instances are equivalent or a non-zero integer otherwise. This defines a total ordering over the ranges.