Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Perm (0.13 sec)

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

       * <pre>{@code
       * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) {
       *   println(perm);
       * }
       * // -> ["a", "b", "c"]
       * // -> ["a", "c", "b"]
       * // -> ["b", "a", "c"]
       * // -> ["b", "c", "a"]
       * // -> ["c", "a", "b"]
       * // -> ["c", "b", "a"]
       *
       * for (List<Integer> perm : orderedPermutations(asList(1, 2, 2, 1))) {
       *   println(perm);
       * }
       * // -> [1, 1, 2, 2]
    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)
  2. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

              @Override
              public void checkAccess(Thread t) {
                throw new SecurityException();
              }
    
              @Override
              public void checkPermission(Permission perm) {
                // Do nothing so we can clear the security manager at the end
              }
            });
        try {
          final String oldName = Thread.currentThread().getName();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
        }
      }
    
      /** Regression test for bug found. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Collections2.java

       * <pre>{@code
       * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) {
       *   println(perm);
       * }
       * // -> ["a", "b", "c"]
       * // -> ["a", "c", "b"]
       * // -> ["b", "a", "c"]
       * // -> ["b", "c", "a"]
       * // -> ["c", "a", "b"]
       * // -> ["c", "b", "a"]
       *
       * for (List<Integer> perm : orderedPermutations(asList(1, 2, 2, 1))) {
       *   println(perm);
       * }
       * // -> [1, 1, 2, 2]
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        AdjustablePolicy(Permission... permissions) {
          for (Permission permission : permissions) perms.add(permission);
        }
    
        void addPermission(Permission perm) {
          perms.add(perm);
        }
    
        void clearPermissions() {
          perms = new Permissions();
        }
    
        @Override
        public PermissionCollection getPermissions(CodeSource cs) {
          return perms;
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        AdjustablePolicy(Permission... permissions) {
          for (Permission permission : permissions) perms.add(permission);
        }
    
        void addPermission(Permission perm) {
          perms.add(perm);
        }
    
        void clearPermissions() {
          perms = new Permissions();
        }
    
        public PermissionCollection getPermissions(CodeSource cs) {
          return perms;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        List<Integer> expected = createOrderedList(size);
        for (Collection<Integer> perm : Collections2.permutations(expected)) {
          for (int i = 0; i < perm.size(); i++) {
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm);
            q.removeAt(i);
            assertIntactUsingStartedWith(perm, q);
          }
        }
      }
    
      /** Regression test for bug found. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

              @Override
              public void checkAccess(Thread t) {
                throw new SecurityException();
              }
    
              @Override
              public void checkPermission(Permission perm) {
                // Do nothing so we can clear the security manager at the end
              }
            });
        try {
          final String oldName = Thread.currentThread().getName();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            queue[index] = parentElement;
            queue[parentIndex] = x;
            return parentIndex;
          }
          queue[index] = x;
          return index;
        }
    
        // About the term "aunt node": it's better to leave gender out of it, but for this the English
        // language has nothing for us. Except for the whimsical neologism "pibling" (!) which we
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

      /**
       * Determines whether a character is a breaking whitespace (that is, a whitespace which can be
       * interpreted as a break between words for formatting purposes). See {@link #whitespace()} for a
       * discussion of that term.
       *
       * @since 19.0 (since 2.0 as constant {@code BREAKING_WHITESPACE})
       */
      public static CharMatcher breakingWhitespace() {
        return BreakingWhitespace.INSTANCE;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top