Class PropertyComparatorDesc

  • All Implemented Interfaces:
    Comparator
    Direct Known Subclasses:
    IDPropertyComparatorDesc

    public class PropertyComparatorDesc
    extends PropertyComparator
    Provides a object property string comparator that sorts the list in descending property order.
    Since:
    4.0.0
    • Constructor Detail

      • PropertyComparatorDesc

        public PropertyComparatorDesc​(String property)
        Create a new string comparator, comparing the specified object property.
        Parameters:
        property - the name of the property to compare
      • PropertyComparatorDesc

        public PropertyComparatorDesc()
        Create a new string comparator, comparing the specified object.