Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for preact (0.16 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          this.actionWhenFirstParamIsNull = actionWhenFirstParamIsNull;
          this.actionWhenSecondParamIsNull = actionWhenSecondParamIsNull;
        }
    
        /** Method that decides how to react to parameters. */
        public void reactToNullParameters(@Nullable Object first, @Nullable Object second) {
          if (first == null) {
            actionWhenFirstParamIsNull.act();
          }
          if (second == null) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

     *       com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain
     *       #reverse reverse} views of these.
     *   <li>Convert between specific preset values using {@link
     *       com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to
     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        assertNotSame(shadowClass, WillBeUnloadedException.class);
        getChecked(immediateFuture("foo"), shadowClass);
        return new WeakReference<>(shadowLoader);
      }
    
      /*
       * TODO(cpovirk): It would be great to run all these tests (including class unloading) in an
       * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Callables.java

     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <h2>Avoid EventBus</h2>
     *
     * <p><b>We recommend against using EventBus.</b> It was designed many years ago, and newer
     * libraries offer better ways to decouple components and react to events.
     *
     * <p>To decouple components, we recommend a dependency-injection framework. For Android code, most
     * apps use <a href="https://dagger.dev">Dagger</a>. For server code, common options include <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Converter.java

     *       com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain
     *       #reverse reverse} views of these.
     *   <li>Convert between specific preset values using {@link
     *       com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to
     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
Back to top