Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 897 for implements (0.12 sec)

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

      }
    
      private static final class WrappedCallable<T> implements Callable<T> {
        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;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

    import java.util.concurrent.FutureTask;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link FutureTask} that also implements the {@link ListenableFuture} interface. Unlike {@code
     * FutureTask}, {@code ListenableFutureTask} does not provide an overrideable {@link
     * FutureTask#done() done()} method. For similar functionality, call {@link #addListener}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedCollectionGenerators {
      public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestSetGenerator<Entry<K, V>>, DerivedGenerator {
        private final OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator;
    
        public MapEntrySetGenerator(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Suppliers.java

        return new SupplierComposition<>(function, supplier);
      }
    
      private static final class SupplierComposition<
              F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        final Function<? super F, T> function;
        final Supplier<F> supplier;
    
        SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base class for services that can implement {@link #startUp} and {@link #shutDown} but while in
     * the "running" state need to perform a periodic task. Subclasses can implement {@link #startUp},
     * {@link #shutDown} and also a {@link #runOneIteration} method that will be executed periodically.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
        @Override
        public Integer get() {
          calls++;
          return calls * 10;
        }
    
        @Override
        public String toString() {
          return "CountingSupplier";
        }
      }
    
      static class ThrowingSupplier implements Supplier<Integer> {
        @Override
        public Integer get() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

    import okhttp3.internal.connection.RouteDatabase
    
    /**
     * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that
     * share the same [Address] may share a [Connection]. This class implements the policy
     * of which connections to keep open for future use.
     *
     * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassIterator.java

     * specify {@literal false} for the second argument of {@link #iterable(Class, boolean)} or {@link #ClassIterator(Class, boolean)}.
     * </p>
     *
     * @author koichik
     */
    public class ClassIterator implements Iterator<Class<?>> {
    
        /** The class */
        protected Class<?> clazz;
    
        /** If {@link Object} class should also be iterated, set to {@literal true} */
        protected final boolean includeObject;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        extends AtomicReference<@Nullable Runnable> implements Runnable {
      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.org/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt

    import android.os.CancellationSignal
    import java.net.InetAddress
    import java.util.concurrent.Executor
    import org.robolectric.annotation.Implementation
    import org.robolectric.annotation.Implements
    import org.robolectric.shadow.api.Shadow
    
    @Implements(DnsResolver::class)
    class ShadowDnsResolver {
      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top