Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,182 for delegate (0.05 sec)

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

            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> Set<T> wrap(Set<T> delegate) {
        return new ForwardingSet<T>() {
          @Override
          protected Set<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

      /** A wrapped future that does not propagate cancellation to its delegate. */
      private static final class NonCancellationPropagatingFuture<V extends @Nullable Object>
          extends AbstractFuture.TrustedFuture<V> implements Runnable {
        @LazyInit private @Nullable ListenableFuture<V> delegate;
    
        NonCancellationPropagatingFuture(ListenableFuture<V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onOpen(webSocket, response)
        } else {
          events.add(Open(webSocket, response))
        }
      }
    
      override fun onMessage(
        webSocket: WebSocket,
        bytes: ByteString,
      ) {
        Platform.get().log("[WS $name] onMessage", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

      /**
       * An SSL socket factory that forwards all calls to a delegate. Override {@link #configureSocket}
       * to customize a created socket before it is returned.
       */
      static class DelegatingSSLSocketFactory extends SSLSocketFactory {
        protected final SSLSocketFactory delegate;
    
        DelegatingSSLSocketFactory(SSLSocketFactory delegate) {
          this.delegate = delegate;
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        private final Callable<T> delegate;
    
        WrappedCallable(Callable<T> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public T call() throws Exception {
          return delegate.call();
        }
      }
    
      private static final class WrappedRunnable implements Runnable {
        private final Runnable delegate;
    
        WrappedRunnable(Runnable delegate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

          return Iterators.transform(entries, UnmodifiableEntry::new);
        }
    
        private UnmodifiableEntry(Entry<K, V> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        protected Entry<K, V> delegate() {
          return delegate;
        }
    
        @Override
        @ParametricNullness
        public V setValue(@ParametricNullness V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

            return toolchain instanceof ToolchainWrapperV3 v3tc ? v3tc.delegate : new ToolchainWrapperV4(toolchain);
        }
    
        private ToolchainPrivate getToolchainV3(org.apache.maven.api.Toolchain toolchain) {
            return toolchain instanceof ToolchainWrapperV4 v3tc ? v3tc.delegate : new ToolchainWrapperV3(toolchain);
        }
    
        private record ToolchainWrapperV4(ToolchainPrivate delegate) implements org.apache.maven.api.Toolchain {
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

        delegate.close()
      }
    
      fun setFailFast(failFast: Boolean) {
        delegate.setFailFast(failFast)
      }
    
      fun setFailFast(failFastResponse: MockResponse?) {
        delegate.setFailFast(failFastResponse?.wrap())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMap.java

      static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<Object, Object>();
    
      RegularImmutableMap(Map<? extends K, ? extends V> delegate) {
        super(delegate);
      }
    
      RegularImmutableMap(Entry<? extends K, ? extends V>... entries) {
        this(/* throwIfDuplicateKeys= */ true, entries);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

      private final List<E> delegate;
    
      RegularImmutableList(List<E> delegate) {
        // TODO(cpovirk): avoid redundant unmodifiableList wrapping
        this.delegate = unmodifiableList(delegate);
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top