Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for replace (0.22 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put(one, three);
        assertNotified(listener, one, two, RemovalCause.REPLACED);
    
        Map<Object, Object> newMap = ImmutableMap.of(one, four);
        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put(one, three);
        assertNotified(listener, one, two, RemovalCause.REPLACED);
    
        Map<Object, Object> newMap = ImmutableMap.of(one, four);
        map.putAll(newMap);
        assertNotified(listener, one, three, RemovalCause.REPLACED);
    
        map.replace(one, five);
        assertNotified(listener, one, four, RemovalCause.REPLACED);
    
        map.replace(one, five, six);
        assertNotified(listener, one, five, RemovalCause.REPLACED);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @CheckForNull V oldValue, V newValue) {
        checkNotNull(key);
        checkNotNull(newValue);
        if (oldValue == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).replace(key, hash, oldValue, newValue);
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
    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)
  4. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @CheckForNull V oldValue, V newValue) {
        checkNotNull(key);
        checkNotNull(newValue);
        if (oldValue == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).replace(key, hash, oldValue, newValue);
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
    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)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    time.
    
      `I want a clean cup,' interrupted the Hatter:  `let's all move
    one place on.'
    
      He moved on as he spoke, and the Dormouse followed him:  the
    March Hare moved into the Dormouse's place, and Alice rather
    unwillingly took the place of the March Hare.  The Hatter was the
    only one who got any advantage from the change:  and Alice was a
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          return !intersection(a, b).isEmpty();
        }
    
        /**
         * Like {@code inputs.toString()}, but with the nonsense {@code toString} representations
         * replaced with the name of each future from {@link #allFutures}.
         */
        String smartToString(ImmutableSet<ListenableFuture<String>> inputs) {
          Iterable<String> inputNames = Iterables.transform(inputs, nameGetter);
    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)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          return !intersection(a, b).isEmpty();
        }
    
        /**
         * Like {@code inputs.toString()}, but with the nonsense {@code toString} representations
         * replaced with the name of each future from {@link #allFutures}.
         */
        String smartToString(ImmutableSet<ListenableFuture<String>> inputs) {
          Iterable<String> inputNames = Iterables.transform(inputs, nameGetter);
    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)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    time.
    
      `I want a clean cup,' interrupted the Hatter:  `let's all move
    one place on.'
    
      He moved on as he spoke, and the Dormouse followed him:  the
    March Hare moved into the Dormouse's place, and Alice rather
    unwillingly took the place of the March Hare.  The Hatter was the
    only one who got any advantage from the change:  and Alice was a
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top