Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Chen (0.16 sec)

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

       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
       * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which
       * throws an {@code IllegalStateException}.)
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // tells the computing thread when to start computing
        final CountDownLatch computeSignal = new CountDownLatch(1);
        // tells the main thread when computation is pending
        final CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
        final CountDownLatch thirdSignal = new CountDownLatch(1);
        // tells the main thread when the third get has started
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> itr2 = Iterators.concat(itr1, Iterators.singletonIterator("d"));
        assertEquals("c", itr2.next());
        assertEquals("d", itr2.next());
      }
    
      /** Illustrates the somewhat bizarre behavior when a null is passed in. */
      public void testConcatContainingNull() {
        Iterator<Iterator<Integer>> input =
            (Iterator<Iterator<Integer>>)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call
       * is accepted, then this future is guaranteed to have been completed with the supplied future by
       * the time this method returns. If the supplied future is not done and the call is accepted, then
       * the future will be <i>set asynchronously</i>. Note that such a result, though not yet known,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
       * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which
       * throws an {@code IllegalStateException}.)
       *
       * @since 21.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // tells the computing thread when to start computing
        final CountDownLatch computeSignal = new CountDownLatch(1);
        // tells the main thread when computation is pending
        final CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
        final CountDownLatch thirdSignal = new CountDownLatch(1);
        // tells the main thread when the third get has started
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        }
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top