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

SortTool should allow arbitrary Comparators to be specified

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.x, 3.0
    • Component/s: GenericTools
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: