Package org.apache.logging.log4j.util
Class PropertySource.Comparator
- java.lang.Object
- 
- org.apache.logging.log4j.util.PropertySource.Comparator
 
- 
- All Implemented Interfaces:
- Serializable,- Comparator<PropertySource>
 - Enclosing interface:
- PropertySource
 
 public static class PropertySource.Comparator extends Object implements Comparator<PropertySource>, Serializable Comparator for ordering PropertySource instances by priority.- Since:
- 2.10.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description Comparator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(PropertySource o1, PropertySource o2)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.Comparatorequals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
 
- 
 
- 
- 
- 
Method Detail- 
comparepublic int compare(PropertySource o1, PropertySource o2) - Specified by:
- comparein interface- Comparator<PropertySource>
 
 
- 
 
-