Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-366

Can't sort a List of FileObject's, FileObject to implement Comparable<FileObject>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None

    Description

      I'd like to be able to say:

      List<FileObject> list = ...
      Collections.sort(list);
      

      and have the list sort the same way I can sort a File, by name.

      FileObject should implement Comparable<FileObject>

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: