Class OrderComparator
java.lang.Object
org.apache.logging.log4j.core.config.OrderComparator
- All Implemented Interfaces:
Serializable
,Comparator<Class<?>>
Comparator for classes annotated with
Order
.- Since:
- 2.1
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
static Comparator<Class<?>>
Returns a singleton instance of this class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
OrderComparator
public OrderComparator()
-
-
Method Details
-
getInstance
Returns a singleton instance of this class.- Returns:
- the singleton for this class.
-
compare
- Specified by:
compare
in interfaceComparator<Class<?>>
-