Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 77 of 77 for oldValue (0.06 seconds)

  1. guava/src/com/google/common/collect/Maps.java

        @Override
        public boolean remove(@Nullable Object key, @Nullable Object value) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean replace(K key, V oldValue, V newValue) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public @Nullable V replace(K key, V value) {
          throw new UnsupportedOperationException();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      public void testReplaceValuesWithEmpty() {
        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
        assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values)));
        assertGet(k0());
        assertEquals(size - oldValues.size(), multimap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      public void testReplaceValuesWithEmpty() {
        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
        assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values)));
        assertGet(k0());
        assertEquals(size - oldValues.size(), multimap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/LinkedListMultimap.java

         * But that check wouldn't eliminate the warnings.)
         */
        @SuppressWarnings({"unchecked", "nullness"})
        K castKey = (K) key;
        List<V> oldValues = getCopy(castKey);
        removeAllNodes(castKey);
        return oldValues;
      }
    
      @Override
      public void clear() {
        head = null;
        tail = null;
        keyToKeyList.clear();
        size = 0;
        modCount++;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

         * But that check wouldn't eliminate the warnings.)
         */
        @SuppressWarnings({"unchecked", "nullness"})
        K castKey = (K) key;
        List<V> oldValues = getCopy(castKey);
        removeAllNodes(castKey);
        return oldValues;
      }
    
      @Override
      public void clear() {
        head = null;
        tail = null;
        keyToKeyList.clear();
        size = 0;
        modCount++;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        Collection<V> oldValues = createCollection();
        oldValues.addAll(collection);
    
        totalSize -= collection.size();
        collection.clear();
    
        while (iterator.hasNext()) {
          if (collection.add(iterator.next())) {
            totalSize++;
          }
        }
    
        return unmodifiableCollectionSubclass(oldValues);
      }
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        Collection<V> oldValues = createCollection();
        oldValues.addAll(collection);
    
        totalSize -= collection.size();
        collection.clear();
    
        while (iterator.hasNext()) {
          if (collection.add(iterator.next())) {
            totalSize++;
          }
        }
    
        return unmodifiableCollectionSubclass(oldValues);
      }
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
Back to Top