public class RangeComparator
extends java.lang.Object
implements java.util.Comparator<com.google.common.collect.Range<java.lang.Integer>>
Constructor and Description |
---|
RangeComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(com.google.common.collect.Range<java.lang.Integer> t,
com.google.common.collect.Range<java.lang.Integer> t1)
all ranges here are in the form of closed-open type
|
public int compare(com.google.common.collect.Range<java.lang.Integer> t, com.google.common.collect.Range<java.lang.Integer> t1)
compare
in interface java.util.Comparator<com.google.common.collect.Range<java.lang.Integer>>
t
- t1
-