Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for wrappers (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

        checkNotNull(future);
        try {
          return getUninterruptibly(future);
        } catch (ExecutionException wrapper) {
          if (wrapper.getCause() instanceof Error) {
            throw new ExecutionError((Error) wrapper.getCause());
          }
          /*
           * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@linkplain WeakReference weak} references
     *   <li>values automatically wrapped in {@linkplain WeakReference weak} or {@linkplain
     *       SoftReference soft} references
     *   <li>notification of evicted (or otherwise removed) entries
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@linkplain WeakReference weak} references
     *   <li>values automatically wrapped in {@linkplain WeakReference weak} or {@linkplain
     *       SoftReference soft} references
     *   <li>notification of evicted (or otherwise removed) entries
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(callCount.get()).isEqualTo(2);
      }
    
      /**
       * On a concurrent computation that throws an unchecked exception, all threads should get the
       * (wrapped) exception, with the loader called only once. The result should not be cached (a later
       * request should call the loader again).
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified multimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(callCount.get()).isEqualTo(2);
      }
    
      /**
       * On a concurrent computation that throws an unchecked exception, all threads should get the
       * (wrapped) exception, with the loader called only once. The result should not be cached (a later
       * request should call the loader again).
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

       * number of elements.)
       */
      private static final class MergingIterator<T extends @Nullable Object>
          extends UnmodifiableIterator<T> {
    
        // Wrapper class to track insertion order for stable sorting
        private static class IndexedIterator<E extends @Nullable Object> {
          final PeekingIterator<E> iterator;
          final int index;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * Level 28</a> is the first version in which {@code MediaDrm} is {@code AutoCloseable}. To
         * support older versions, pass a wrapper {@code AutoCloseable} with a method reference like
         * {@code mediaDrm::release}.
         *
         * @param closeable the object to be closed
         * @param closingExecutor the object will be closed on this executor
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * serializable.
       *
       * <p><b>Java 8+ users and later:</b> Prefer {@link Collections#synchronizedNavigableSet}.
       *
       * @param navigableSet the navigable set to be "wrapped" in a synchronized navigable set.
       * @return a synchronized view of the specified navigable set.
       * @since 13.0
       */
      @GwtIncompatible // NavigableSet
      @J2ktIncompatible // Synchronized
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top