public static class DirectoryProperty.PropertyComparator extends java.lang.Object implements java.util.Comparator<Property>, java.io.Serializable
| Constructor and Description | 
|---|
PropertyComparator()  |  
          
| Modifier and Type | Method and Description | 
|---|---|
int |  
           compare(Property o1, Property o2) 
            
              compare method. 
             (比较方法。) 
               |  
          
public int compare(Property o1, Property o2)
compare in interface  
            java.util.Comparator<Property> 
            (在接口 java.util.Comparator 中比较 
             o1 - first object to compare, better be a Property 
            (o1 - 第一个要比较的对象,最好是一个属性) 
           o2 - second object to compare, better be a Property 
            (o2 - 要比较的第二个对象,最好是一个属性) 
           Copyright 2021 The Apache Software Foundation or its licensors, as applicable.