Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 2,237 for Implements (0.28 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4ConnectionMonitorTarget.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.timer.TimeoutTarget;
    
    /**
     * Hc4ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections
     * for Apache HttpComponents 4.x. It implements the TimeoutTarget interface to handle connection
     * expiration events.
     *
     * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertTrue(runnable2.run);
        assertEquals((Integer) 3, runnableFuture2.get());
      }
    
      private static class TestRunnable implements Runnable {
        boolean run = false;
    
        @Override
        public void run() {
          run = true;
        }
      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertTrue(runnable2.run);
        assertEquals((Integer) 3, runnableFuture2.get());
      }
    
      private static class TestRunnable implements Runnable {
        boolean run = false;
    
        @Override
        public void run() {
          run = true;
        }
      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. internal/ioutil/ioutil.go

    	}
    	return err
    }
    
    // LimitWriter implements io.WriteCloser.
    //
    // This is implemented such that we want to restrict
    // an enscapsulated writer upto a certain length
    // and skip a certain number of bytes.
    type LimitWriter struct {
    	io.Writer
    	skipBytes int64
    	wLimit    int64
    }
    
    // Write implements the io.Writer interface limiting upto
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        ListenableFuture<String> listenableFuture = immediateFuture(DATA1);
        assertThat(listenInPoolThread(listenableFuture)).isSameInstanceAs(listenableFuture);
      }
    
      private static class SingleCallListener implements Runnable {
    
        private boolean expectCall = false;
        private final CountDownLatch calledCountDown = new CountDownLatch(1);
    
        @Override
        public void run() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5ConnectionMonitorTarget.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.timer.TimeoutTarget;
    
    /**
     * Hc5ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections
     * for Apache HttpComponents 5.x. It implements the TimeoutTarget interface to handle connection
     * expiration events.
     *
     * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            assertThat(count, is(2));
            assertThat(names, is("ab"));
            assertThat(DisposableUtil.disposables.size(), is(0));
        }
    
        /**
         *
         */
        public class TestDisposable implements Disposable {
            String name;
    
            /**
             * @param name
             */
            public TestDisposable(final String name) {
                this.name = name;
            }
    
            @Override
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        ListenableFuture<String> listenableFuture = immediateFuture(DATA1);
        assertThat(listenInPoolThread(listenableFuture)).isSameInstanceAs(listenableFuture);
      }
    
      private static class SingleCallListener implements Runnable {
    
        private boolean expectCall = false;
        private final CountDownLatch calledCountDown = new CountDownLatch(1);
    
        @Override
        public void run() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.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;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top