01: import java.util.ArrayList;
02: 
03: /**
04:    This program tests the permutation generator.
05: */
06: public class PermutationGeneratorTester
07: {
08:    public static void main(String[] args)
09:    {
10:       PermutationGenerator generator 
11:             = new PermutationGenerator("eat");
12:       ArrayList<String> permutations = generator.getPermutations();
13:       for (String s : permutations)
14:       {         
15:          System.out.println(s);
16:       }
17:    }
18: }
19: