Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for oldValue (0.22 sec)

  1. guava/src/com/google/common/primitives/Chars.java

        }
    
        @Override
        public Character set(int index, Character element) {
          checkElementIndex(index, size());
          char oldValue = array[start + index];
          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Character> subList(int fromIndex, int toIndex) {
          int size = size();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Floats.java

        }
    
        @Override
        public Float set(int index, Float element) {
          checkElementIndex(index, size());
          float oldValue = array[start + index];
          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Float> subList(int fromIndex, int toIndex) {
          int size = size();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_ProtwordsUpdater_write_updateItem() {
            protwordsFile.reload(null);
    
            // Create an item for update
            ProtwordsItem item = new ProtwordsItem(1, "oldValue");
            item.setNewInput("newValue");
    
            ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(item);
    
            // Write the same item (should update)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Doubles.java

        }
    
        @Override
        public Double set(int index, Double element) {
          checkElementIndex(index, size());
          double oldValue = array[start + index];
          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Double> subList(int fromIndex, int toIndex) {
          int size = size();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            assertEquals("value1", paramMap.get("key1"));
            assertEquals("value2", paramMap.get("key2"));
    
            // Test overwriting existing keys
            paramMap = new HashMap<>();
            paramMap.put("key1", "oldValue");
            configParam = "key1=newValue";
            ParameterUtil.loadConfigParams(paramMap, configParam);
            assertEquals(1, paramMap.size());
            assertEquals("newValue", paramMap.get("key1"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean replace(K key, V oldValue, V newValue) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  7. 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})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. 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++;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. 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}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
Back to top