Package org.apache.logging.log4j.util
Class PropertySource.Comparator
- java.lang.Object
-
- org.apache.logging.log4j.util.PropertySource.Comparator
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Comparator<PropertySource>
- Enclosing interface:
- PropertySource
public static class PropertySource.Comparator extends java.lang.Object implements java.util.Comparator<PropertySource>, java.io.Serializable
Comparator for ordering PropertySource instances by priority.- Since:
- 2.10.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Comparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(PropertySource o1, PropertySource o2)
-
-
-
Method Detail
-
compare
public int compare(PropertySource o1, PropertySource o2)
- Specified by:
compare
in interfacejava.util.Comparator<PropertySource>
-
-