Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPermutationSetThreeRepeatedElements (0.2 sec)

  1. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList(2, 1, 3), permutations);
        assertNextPermutation(newArrayList(2, 3, 1), permutations);
        assertNoMorePermutations(permutations);
      }
    
      public void testPermutationSetThreeRepeatedElements() {
        Iterator<List<Integer>> permutations =
            Collections2.permutations(newArrayList(1, 1, 2)).iterator();
        assertNextPermutation(newArrayList(1, 1, 2), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertNextPermutation(newArrayList(2, 1, 3), permutations);
        assertNextPermutation(newArrayList(2, 3, 1), permutations);
        assertNoMorePermutations(permutations);
      }
    
      public void testPermutationSetThreeRepeatedElements() {
        Iterator<List<Integer>> permutations =
            Collections2.permutations(newArrayList(1, 1, 2)).iterator();
        assertNextPermutation(newArrayList(1, 1, 2), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top