docs: public static <T> Iterator<List<T>> eachPermutation(Iterable<T> self, Closure closure) {
          Iterator<List<T>> generator = new PermutationGenerator<T>(self);
          while (generator.hasNext()) {
              closure.call(generator.next());
          }
          return generator;
      }