Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 335 for undelegate (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
      private static <K, V> SortedMap<K, V> wrap(SortedMap<K, V> delegate) {
        return new ForwardingSortedMap<K, V>() {
          @Override
          protected SortedMap<K, V> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public final Object mutex;
        private final Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
          this.delegate = delegate;
          this.mutex = mutex;
        }
    
        @Override
        protected Map<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
                return delegate.stopAsync();
              }
    
              @Override
              public final void awaitRunning() {
                delegate.awaitRunning();
              }
    
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      /** true if this set is a subset of another immutable sorted set. */
      final boolean isSubset;
    
      RegularImmutableSortedSet(SortedSet<E> delegate, boolean isSubset) {
        super(delegate);
        this.isSubset = isSubset;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return new ImmutableSortedAsList<>(this, ImmutableList.asImmutableList(toArray()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

        val call = RealCall(client, Request(address.url), forWebSocket = false)
        val chain = newChain(call)
        return RealRoutePlanner(
          taskRunner = client.taskRunner,
          connectionPool = client.connectionPool.delegate,
          readTimeoutMillis = client.readTimeoutMillis,
          writeTimeoutMillis = client.writeTimeoutMillis,
          socketConnectTimeoutMillis = chain.connectTimeoutMillis,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

    final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
      private final transient List<E> delegate;
      private final E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableMultimap.copyOf(delegate).asMap();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
        return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

    import okio.Buffer
    import okio.ForwardingSink
    import okio.Sink
    
    /** A sink that never throws IOExceptions, even if the underlying sink does. */
    internal open class FaultHidingSink(
      delegate: Sink,
      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                }
              }
    
              private void mutateDelegate() {
                allStates.add(ImmutableList.copyOf(delegate));
                remainingActions.next().perform(delegate);
                allStates.add(ImmutableList.copyOf(delegate));
              }
            };
    
        @SuppressWarnings("unchecked")
        ConcurrentlyMutatedList<Integer> list =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top