Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for equalTo (0.5 sec)

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

        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          // 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
    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

        return new Predicate<StackTraceElement>() {
          @Override
          public boolean apply(StackTraceElement element) {
            return element.getClassName().equals(clazz.getName());
          }
        };
      }
    
      private static final class CallerClass1 {
        static ListenableFuture<String> makeImmediateCancelledFuture() {
          return immediateCancelledFuture();
        }
    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

        return new Predicate<StackTraceElement>() {
          @Override
          public boolean apply(StackTraceElement element) {
            return element.getClassName().equals(clazz.getName());
          }
        };
      }
    
      private static final class CallerClass1 {
        static ListenableFuture<String> makeImmediateCancelledFuture() {
          return immediateCancelledFuture();
        }
    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/collect/Maps.java

         * <ul>
         *   <li>Its execution does not cause any observable side effects.
         *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
         *       Objects.equal}{@code (k1, k2) &&} {@link Objects#equal}{@code (v1, v2)} implies that
         *       {@code Objects.equal(transformer.transform(k1, v1), transformer.transform(k2, v2))}.
         * </ul>
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

         * <ul>
         *   <li>Its execution does not cause any observable side effects.
         *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
         *       Objects.equal}{@code (k1, k2) &&} {@link Objects#equal}{@code (v1, v2)} implies that
         *       {@code Objects.equal(transformer.transform(k1, v1), transformer.transform(k2, v2))}.
         * </ul>
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return toStringHelper(this).add("state", state.get()).addValue(future).toString();
      }
    
      @SuppressWarnings("removal") // b/260137033
      @Override
      protected void finalize() {
        if (state.get().equals(OPEN)) {
          logger.get().log(SEVERE, "Uh oh! An open ClosingFuture has leaked and will close: {0}", this);
          FluentFuture<V> unused = finishToFuture();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          // 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return toStringHelper(this).add("state", state.get()).addValue(future).toString();
      }
    
      @SuppressWarnings("removal") // b/260137033
      @Override
      protected void finalize() {
        if (state.get().equals(OPEN)) {
          logger.get().log(SEVERE, "Uh oh! An open ClosingFuture has leaked and will close: {0}", this);
          FluentFuture<V> unused = finishToFuture();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
Back to top