T1
- T2
- public static class Pair.BySecondPairComparator<T1,T2> extends java.lang.Object implements java.util.Comparator<Pair<T1,T2>>
Pair
to another Pair
according to the second object of the pair only
This function will work providing
the first element of the Pair
is comparable, otherwise will throw a
ClassCastException
Constructor and Description |
---|
Pair.BySecondPairComparator() |