Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,904 for Methode (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
       * is only valid to call this method if all of the services are {@linkplain State#NEW new}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SettableFuture.java

     *
     * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
     * task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures}
     * utility methods, or {@link ListenableFutureTask}. Those APIs have less opportunity for developer
     * error. If your needs are more complex than {@code SettableFuture} supports, use {@link
     * AbstractFuture}, which offers an extensible version of the API.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible(emulated = true)
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        checkNotNull(future);
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

      public void testDirectoryDeletion_basic() throws IOException {
        for (DirectoryDeleteMethod method : EnumSet.allOf(DirectoryDeleteMethod.class)) {
          try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) {
            Path dir = fs.getPath("dir");
            assertEquals(6, MoreFiles.listFiles(dir).size());
    
            method.delete(dir);
            method.assertDeleteSucceeded(dir);
    
            assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link InetAddress} instances.
     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        TimeUnit lastUnit;
    
        void assertLastMethodCalled(String method, long delay, TimeUnit unit) {
          assertEquals(method, lastMethodCalled);
          assertEquals(delay, lastDelay);
          assertEquals(unit, lastUnit);
        }
    
        void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) {
          assertEquals(method, lastMethodCalled);
          assertEquals(initialDelay, lastInitialDelay);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/changelogs/upgrading_to_okhttp_4.md

       readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis
     * **PushPromise**: headers, method, path, response
     * **Request**: body, cacheControl, headers, method, url
     * **Response**: body, cacheControl, cacheResponse, code, handshake, headers, message,
       networkResponse, priorResponse, protocol, receivedResponseAtMillis, request, sentRequestAtMillis
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForHashtable() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedHashMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeMapNatural() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeMapWithComparator() {
        return emptySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Resources.java

    import java.nio.charset.Charset;
    import java.nio.charset.StandardCharsets;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Provides utility methods for working with resources in the classpath. Note that even though these
     * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other
     * non-classpath resources.
     *
     * @author Chris Nokleberg
     * @author Ben Yu
     * @author Colin Decker
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top