Package com.atlassian.jira.util.collect
Class ResolvingComparator<I,O>
java.lang.Object
com.atlassian.jira.util.collect.ResolvingComparator<I,O>
- All Implemented Interfaces:
Comparator<I>
Comparator that first resolves an input to an output type, and then delegates to a comparator of the output type.
- Since:
- v3.13
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ResolvingComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<I>
-