public class ComparingPropertySorter extends Object implements PropertySorter
| Constructor and Description | 
|---|
ComparingPropertySorter(Comparator propertyNameComparator)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map | 
sort(Class type,
    Map nameMap)
Sort the properties of a bean type. 
 | 
public ComparingPropertySorter(Comparator propertyNameComparator)
public Map sort(Class type, Map nameMap)
PropertySortersort in interface PropertySortertype - the bean class that contains all the propertiesnameMap - the map to sort, key is the property name, value the
            PropertyDescriptorCopyright © 2004–2016 XStream. All rights reserved.