public class ComparingPropertySorter extends Object implements PropertySorter
| Constructor and Description |
|---|
ComparingPropertySorter(Comparator propertyNameComparator) |
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-2014 XStream. All Rights Reserved.