PermutationGroup { public List<Permutation> getLeftTransversal(int index) { List<Permutation> traversal = new ArrayList<Permutation>(); for (int subIndex = 0; subIndex < size; subIndex++) { if (permutations[index][subIndex] != null) { traversal.add(permutations[index][subIndex]); } } return traversal; } PermutationGroup(int size);  PermutationGroup(Permutation base);  PermutationGroup(int size, List<Permutation> generators); static PermutationGroup makeSymN(int size); int getSize(); long order(); Permutation get(int uIndex, int uSubIndex); List<Permutation> getLeftTransversal(int index); List<Permutation> transversal(final PermutationGroup subgroup); void apply(Backtracker backtracker); List<Permutation> all(); void changeBase(Permutation newBase); void enter(Permutation g); int test(Permutation permutation); @Override String toString();  }
@Test public void getLeftTransversalTest() { PermutationGroup group = getCubeGroup(); List<Permutation> transversal = group.getLeftTransversal(1); Assert.assertEquals(3, transversal.size()); }