Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for use (0.24 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        aggregateFutureLogger.removeHandler(aggregateFutureLogHandler);
        super.tearDown();
      }
    
      /*
       * TODO(cpovirk): Use FutureSubject once it's part of core Truth. But be wary of using it when I'm
       * really testing a Future implementation (e.g., in the case of immediate*Future()). But it's OK
       * to use in the case of the majority of Futures that are AbstractFutures.
       */
    
      public void testImmediateFuture() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *               },
       *               executor)
       *           .closing(executor);
       * }</pre>
       */
      // TODO(cpovirk): Use simple name instead of fully qualified after we stop building with JDK 8.
      @com.google.errorprone.annotations.DoNotMock(
          "Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
      public static class Combiner {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *               },
       *               executor)
       *           .closing(executor);
       * }</pre>
       */
      // TODO(cpovirk): Use simple name instead of fully qualified after we stop building with JDK 8.
      @com.google.errorprone.annotations.DoNotMock(
          "Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
      public static class Combiner {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top