Commons Collections
  1. Commons Collections
  2. COLLECTIONS-422

Proposal for a permutation generator (Permutator)

    Details

      Description

      Here's a patch providing a tool to get every permutation of a collection.

      1. permutator.txt
        19 kB
        Benoit Corne

        Activity

        Hide
        Thomas Neidhart added a comment -

        Applied patch with modifications in r1470310:

        • Instead of the Permutator interface, I implemented an PermutationIterator
        • Added a CollectionUtils.permutations(Collection) method
        • some simplifications and additional javadoc

        Thanks for the report and patch!

        Show
        Thomas Neidhart added a comment - Applied patch with modifications in r1470310: Instead of the Permutator interface, I implemented an PermutationIterator Added a CollectionUtils.permutations(Collection) method some simplifications and additional javadoc Thanks for the report and patch!
        Hide
        Benoit Corne added a comment -

        Here's the patch containing the code, I hope the format is good.

        Show
        Benoit Corne added a comment - Here's the patch containing the code, I hope the format is good.

          People

          • Assignee:
            Unassigned
            Reporter:
            Benoit Corne
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development