Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for HANDLE (0.15 sec)

  1. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      }
    
      public static class StringSubscriber {
    
        @Subscribe
        public void handle(String s) {}
      }
    
      public static class IntegerSubscriber {
    
        @Subscribe
        public void handle(Integer i) {}
      }
    
      public static class ObjectSubscriber {
    
        @Subscribe
        public void handle(Object o) {}
      }
    
      public void testFlattenHierarchy() {
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      }
    
      public static class StringSubscriber {
    
        @Subscribe
        public void handle(String s) {}
      }
    
      public static class IntegerSubscriber {
    
        @Subscribe
        public void handle(Integer i) {}
      }
    
      public static class ObjectSubscriber {
    
        @Subscribe
        public void handle(Object o) {}
      }
    
      public void testFlattenHierarchy() {
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

     *
     * <p>This is an alternative to copying the data to an {@code OutputStream} via a {@code Writer},
     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
     * "pull" as much data as they can handle, which is more convenient when dealing with flow
     * controlled, async APIs.
     *
     * @author Chris Nokleberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     */
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

            System.out.println("serving docs at http://localhost:" + getPort().get());
            DeploymentRegistry registry = getDeploymentRegistry();
            JavaApplicationHandle handle = registry.get(getPath(), JavaApplicationHandle.class);
            if (handle == null) {
                JavaExecHandleBuilder builder = getExecActionFactory().newJavaExec();
                builder.setExecutable(getJavaLauncher().get().getExecutablePath().getAsFile());
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            return type;
        }
    
        /**
         * Selects the type of path where to place the given dependency.
         * This method returns one of the values specified in the given collection.
         * This method does not handle the patch-module paths, because the patches
         * depend on which modules have been previously added on the module-paths.
         *
         * <p>If the dependency can be a constituent of both the class-path and the module-path,
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/Base.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Simple base class to verify that we handle generics correctly. */
    @GwtCompatible
    class Base implements Comparable<Base>, Serializable {
      private final String s;
    
      public Base(String s) {
        this.s = s;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 22:29:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

        extends AbstractFuture<V> {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#exceptionally}. It
       * can also serve some of the use cases of {@link java.util.concurrent.CompletableFuture#handle}
       * and {@link java.util.concurrent.CompletableFuture#handleAsync} when used along with {@link
       * #transform}.
       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
Back to top