Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 556 for delegates (0.14 sec)

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

      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
      public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

      ) : Reader() {
        private var closed: Boolean = false
        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
              source.inputStream(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
        void testConstructor() {
            // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper)
            // and the credentials. The delegate is tested implicitly by calling super's methods.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. docs/recipes.md

              private final RequestBody delegate;
    
              public ProgressRequestBody(RequestBody delegate, ProgressListener progressListener) {
                this.delegate = delegate;
                this.progressListener = progressListener;
              }
    
              @Override public MediaType contentType() {
                return delegate.contentType();
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeSet.java

      final class AsRanges extends ForwardingCollection<Range<C>> implements Set<Range<C>> {
    
        final Collection<Range<C>> delegate;
    
        AsRanges(Collection<Range<C>> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        protected Collection<Range<C>> delegate() {
          return delegate;
        }
    
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  8. docs/bucket/versioning/README.md

    expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when on versioning-enabled bucket, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the versioning-enabled bucket. (A version-enabled bucket maintains one current and zero or more noncurrent object versions.)
    
    Versioning must be explicitly enabled on a bucket, versioning is not enabled by...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        var canceled = false
    
        override val source: BufferedSource =
          object : ForwardingSource(delegate.source) {
            override fun close() {
              sourceClosed = true
              super.close()
            }
          }.buffer()
    
        override val sink: BufferedSink =
          object : ForwardingSink(delegate.sink) {
            override fun close() {
              sinkClosed = true
              super.close()
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top