Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava/src/com/google/common/collect/Collections2.java

           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
          Collections.reverse(nextPermutation.subList(j + 1, n));
        }
    
        int findNextJ() {
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
          Collections.reverse(nextPermutation.subList(j + 1, n));
        }
    
        int findNextJ() {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top