T - The type of object to comparepublic class PriorityAnnotationComparator<T> extends Object implements Comparator<T>
@Priority
annotation.| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
static <T> PriorityAnnotationComparator<T> |
getInstance()
Returns the instance of the comparator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static <T> PriorityAnnotationComparator<T> getInstance()
T - The type of values to comparepublic int compare(T o1, T o2)
compare in interface Comparator<T>Copyright © 2010–2023. All rights reserved.