Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for orderedPermutations (0.33 seconds)

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

        Iterator<List<Integer>> permutations = Collections2.orderedPermutations(list).iterator();
    
        assertNextPermutation(newArrayList(1), permutations);
        assertNoMorePermutations(permutations);
      }
    
      public void testOrderedPermutationSetThreeElements() {
        List<String> list = newArrayList("b", "a", "c");
        Iterator<List<String>> permutations = Collections2.orderedPermutations(list).iterator();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        Iterator<List<Integer>> permutations = Collections2.orderedPermutations(list).iterator();
    
        assertNextPermutation(newArrayList(1), permutations);
        assertNoMorePermutations(permutations);
      }
    
      public void testOrderedPermutationSetThreeElements() {
        List<String> list = newArrayList("b", "a", "c");
        Iterator<List<String>> permutations = Collections2.orderedPermutations(list).iterator();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Collections2.java

       * @throws NullPointerException if the specified iterable is null or has any null elements.
       * @since 12.0
       */
      public static <E extends Comparable<? super E>> Collection<List<E>> orderedPermutations(
          Iterable<E> elements) {
        return orderedPermutations(elements, Ordering.natural());
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable} using
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Collections2.java

       * @throws NullPointerException if the specified iterable is null or has any null elements.
       * @since 12.0
       */
      public static <E extends Comparable<? super E>> Collection<List<E>> orderedPermutations(
          Iterable<E> elements) {
        return orderedPermutations(elements, Ordering.natural());
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable} using
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top