Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for body (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        System.setSecurityManager(disallowPropertySecurityManager);
    
        settableFutureClass = classReloader.loadClass(SettableFuture.class.getName());
    
        /*
         * We must keep the SecurityManager installed during the test body: It affects what kind of
         * threads ForkJoinPool.commonPool() creates.
         */
      }
    
      @Override
      protected void tearDown() throws Exception {
        System.setSecurityManager(oldSecurityManager);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
       *       proxy will be passed to the method. It's possible that the method body expects an
       *       instance method of the passed-in proxy to be of a certain value yet the proxy isn't aware
       *       of the assumption, in which case the equality check before and after serialization will
       *       fail.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/StandardTable.java

          }
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator started off pointing to an empty iterator, so we must have entered the
           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
           * - The only case in which rowEntry is cleared (during remove() below) happens only if the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SplitterTest.java

            COMMA_SPLITTER.withKeyValueSeparator(":").split("boy:tom,girl:tina,cat:kitty,dog:tommy");
    
        assertThat(m.keySet()).containsExactly("boy", "girl", "cat", "dog").inOrder();
        assertThat(m)
            .isEqualTo(ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy"));
    
        // try in a different order
        m = COMMA_SPLITTER.withKeyValueSeparator(":").split("girl:tina,boy:tom,dog:tommy,cat:kitty");
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
       *       proxy will be passed to the method. It's possible that the method body expects an
       *       instance method of the passed-in proxy to be of a certain value yet the proxy isn't aware
       *       of the assumption, in which case the equality check before and after serialization will
       *       fail.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SplitterTest.java

            COMMA_SPLITTER.withKeyValueSeparator(":").split("boy:tom,girl:tina,cat:kitty,dog:tommy");
    
        assertThat(m.keySet()).containsExactly("boy", "girl", "cat", "dog").inOrder();
        assertThat(m)
            .isEqualTo(ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy"));
    
        // try in a different order
        m = COMMA_SPLITTER.withKeyValueSeparator(":").split("girl:tina,boy:tom,dog:tommy,cat:kitty");
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * If we make these calls inline inside toImmutableSortedMultiset, we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. My assumption is that, because javac
       * generates a synthetic method for the body of the lambda, the actual method calls that Animal
       * Sniffer is flagging don't appear inside toImmutableSortedMultiset but rather inside that
       * synthetic method. By moving those calls to a named method, we're able to apply
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.3K bytes
    - Viewed (0)
Back to top