public class SortedSetsComparator<T extends java.lang.Comparable<T>> extends java.lang.Object implements java.util.Comparator<java.util.SortedSet<T>>
SortedSets if their values
of the set are Comparable. The sets are first ordered by size. If two
SortedSets have the same size, the value pairs with identical index
in the set order are compared.| Constructor and Description |
|---|
SortedSetsComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.util.SortedSet<T> firstSet,
java.util.SortedSet<T> secondSet) |