PermutationsExtension<T> extension
Methods
-
permutations()
→ Iterable<Iterable<T>>
-
Returns an iterable that consists of iterables, where each iterable is
a collection of all the permutations of the elements in this iterable.
-
swap(List<T> input, int a, int b)
→ void
-