Uploaded image for project: 'Velocity Tools'
  1. Velocity Tools
  2. VELTOOLS-156

SortTool should allow arbitrary Comparators to be specified

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0.x, 3.0
    • GenericTools
    • None

    Description

      Collections of objects that don't implement Comparable (e.g. Locale) aren't sortable by SortTool. I have a Comparator<Locale> that I also can't use with SortTool. It would be nice to overload sort() to accept a Comparator to perform the sorting.

      Attachments

        Activity

          People

            chris@christopherschultz.net Christopher Schultz
            chris@christopherschultz.net Christopher Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: