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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic 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, waitMethods 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:
comparein interfaceComparator<Class<?>>
-