org.apache.logging.log4j.core.config
Class OrderComparator
java.lang.Object
org.apache.logging.log4j.core.config.OrderComparator
- All Implemented Interfaces:
- Comparator<Class<?>>
public class OrderComparator
- extends Object
- implements Comparator<Class<?>>
Comparator for classes annotated with Order
.
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderComparator
public OrderComparator()
getInstance
public static Comparator<Class<?>> getInstance()
- Returns a singleton instance of this class.
- Returns:
- the singleton for this class.
compare
public int compare(Class<?> lhs,
Class<?> rhs)
- Specified by:
compare
in interface Comparator<Class<?>>
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.