Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 345 for undelegate (0.1 sec)

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

          return realDelegate.size();
        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return realDelegate.listIterator(index);
        }
    
        @Override
        protected List<E> delegate() {
          throw new UnsupportedOperationException("This list only supports ListIterator");
        }
      }
    
      private static void assertTransformIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

          return realDelegate.size();
        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return realDelegate.listIterator(index);
        }
    
        @Override
        protected List<E> delegate() {
          throw new UnsupportedOperationException("This list only supports ListIterator");
        }
      }
    
      private static void assertTransformIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

      /**
       * Opens a new buffered {@link InputStream} for reading from this source. The returned stream is
       * not required to be a {@link BufferedInputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayInputStream}). This method returns a new,
       * independent stream each time it is called.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        orig.setFuture(
            new ForwardingListenableFuture<Object>() {
              @Override
              protected ListenableFuture<Object> delegate() {
                return orig;
              }
            });
        assertThat(orig.toString())
            .contains("Exception thrown from implementation: class java.lang.StackOverflowError");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class Bar<T> {}
        class SubBar<T> extends Bar<T> {
          @SuppressWarnings("unused")
          Bar<T> delegate;
    
          TypeToken<SubBar<T>> fieldTypeAsSubBar() {
            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

          }
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (options.length == 0) {
            // If no OpenOptions were passed, delegate to Files.lines, which could have performance
            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

          }
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (options.length == 0) {
            // If no OpenOptions were passed, delegate to Files.lines, which could have performance
            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IterablesTest.java

          this.queue = queue;
        }
    
        @Override
        public Iterator<T> iterator() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        protected Queue<T> delegate() {
          return queue;
        }
      }
    
      public void testIndexOf_empty() {
        List<String> list = new ArrayList<>();
        assertEquals(-1, Iterables.indexOf(list, equalTo("")));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .newCall(Request(url))
        }
      }
    
      private class RecordingTrustManager(private val delegate: X509TrustManager) : X509TrustManager {
        val calls: MutableList<String> = ArrayList()
    
        override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
        override fun checkClientTrusted(
          chain: Array<X509Certificate>,
          authType: String,
        ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

            return super.configureSocket(sslSocket)
          }
        }
      }
    
      private class RecordingSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
        val socketsCreated = mutableListOf<SSLSocket>()
    
        override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
          socketsCreated.add(sslSocket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top