Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Equivalent (1.16 sec)

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

              if (e.getHash() == hash
                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                ValueReference<K, V> valueReference = e.getValueReference();
                V entryValue = valueReference.get();
    
                RemovalCause cause;
                if (map.valueEquivalence.equivalent(value, entryValue)) {
                  cause = RemovalCause.EXPLICIT;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

              if (e.getHash() == hash
                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                ValueReference<K, V> valueReference = e.getValueReference();
                V entryValue = valueReference.get();
    
                RemovalCause cause;
                if (map.valueEquivalence.equivalent(value, entryValue)) {
                  cause = RemovalCause.EXPLICIT;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} succeeds, the derived one will be equivalent to the one
       * returned by the function.
       *
       * <p>If this {@code ClosingFuture} fails, the function will not be called, and the derived {@code
       * ClosingFuture} will be equivalent to this one.
       *
       * <p>If the function throws an exception, that exception is used as the result of the derived
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                  ListenableFuture<String> a, ListenableFuture<String> b) {
                return successfulAsList(ImmutableSet.of(a, b));
              }
            };
      }
    
      /**
       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                  ListenableFuture<String> a, ListenableFuture<String> b) {
                return successfulAsList(ImmutableSet.of(a, b));
              }
            };
      }
    
      /**
       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

             * further about this.
             */
            V rightValue = uncheckedCastNullableTToT(onlyOnRight.remove(leftKey));
            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top