Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,532 for implements (0.17 sec)

  1. android/guava/src/com/google/common/collect/Tables.java

      }
    
      static final class ImmutableCell<
              R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          extends AbstractCell<R, C, V> implements Serializable {
        @ParametricNullness private final R rowKey;
        @ParametricNullness private final C columnKey;
        @ParametricNullness private final V value;
    
        ImmutableCell(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
        response.body().close();
      }
    
      private static class LoggingInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       * element returned.
       *
       * <p>See <a href="https://bugs.openjdk.org/browse/JDK-6529795">JDK-6529795</a>
       */
      static class IteratorWithJdkBug6529795<T> implements Iterator<T> {
        Iterator<T> iterator;
        boolean nextThrewException;
    
        IteratorWithJdkBug6529795(Iterator<T> iterator) {
          this.iterator = iterator;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

            builder.put(i, elements[i]);
          }
          return builder.buildOrThrow().values().asList();
        }
      }
    
      public static class ImmutableMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

    /**
     * A skeleton generator for a {@code ListMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringListMultimapGenerator
        implements TestListMultimapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

    /**
     * A skeleton generator for a {@code SetMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSetMultimapGenerator
        implements TestSetMultimapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

    /**
     * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures.
     *
     * @author Nishant Thakkar
     * @since 10.0
     */
    @GwtIncompatible
    public class MockFutureListener implements Runnable {
      private final CountDownLatch countDownLatch;
      private final ListenableFuture<?> future;
    
      public MockFutureListener(ListenableFuture<?> future) {
        this.countDownLatch = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

        new RequestBodyCompression().run();
      }
    
      /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */
      static class GzipRequestInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request originalRequest = chain.request();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    public abstract class ForwardingLoadingCache<K, V> extends ForwardingCache<K, V>
        implements LoadingCache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingLoadingCache() {}
    
      @Override
      protected abstract LoadingCache<K, V> delegate();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

    /** Implementation of {@link Futures#immediateFuture}. */
    @GwtCompatible
    // TODO(cpovirk): Make this final (but that may break Mockito spy calls).
    class ImmediateFuture<V extends @Nullable Object> implements ListenableFuture<V> {
      static final ListenableFuture<?> NULL = new ImmediateFuture<@Nullable Object>(null);
    
      private static final LazyLogger log = new LazyLogger(ImmediateFuture.class);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top