Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for new_value1 (0.41 sec)

  1. android/guava/src/com/google/common/collect/TableCollectors.java

        V oldValue = table.get(row, column);
        if (oldValue == null) {
          table.put(row, column, value);
        } else {
          V newValue = mergeFunction.apply(oldValue, value);
          if (newValue == null) {
            table.remove(row, column);
          } else {
            table.put(row, column, newValue);
          }
        }
      }
    
      private TableCollectors() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          V value = localCache.get(key);
          if (value != null) {
            return value;
          }
    
          try {
            V newValue = valueLoader.call();
            localCache.put(key, newValue);
            return newValue;
          } catch (Exception e) {
            throw new ExecutionException(e);
          }
        }
    
        @Override
        public @Nullable V getIfPresent(Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
        assertEquals(7, (int) newValue);
    
        // Won't compile: map.putInstance(Double.class, new Long(42));
      }
    
      public void testNull() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                String value1 = fessConfig.get(testKey);
                assertEquals(initialValue, value1);
    
                // Change system property
                String newValue = "changed";
                System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, newValue);
    
                // Get value again - in real FessConfigImpl it would be cached,
                // but our test implementation always checks system properties
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        List<V> oldValues = getCopy(key);
        ListIterator<V> keyValues = new ValueForKeyIterator(key);
        Iterator<? extends V> newValues = values.iterator();
    
        // Replace existing values, if any.
        while (keyValues.hasNext() && newValues.hasNext()) {
          keyValues.next();
          keyValues.set(newValues.next());
        }
    
        // Remove remaining old values, if any.
        while (keyValues.hasNext()) {
          keyValues.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

       */
      private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) {
        checkArgument(entry != ABSENT);
        int newValueHash = Hashing.smearedHash(newValue);
        int newValueIndex = findEntryByValue(newValue, newValueHash);
        if (newValueIndex != ABSENT) {
          if (force) {
            removeEntryValueHashKnown(newValueIndex, newValueHash);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableTable.java

       */
      final void checkNoDuplicate(R rowKey, C columnKey, @Nullable V existingValue, V newValue) {
        checkArgument(
            existingValue == null,
            "Duplicate key: (row=%s, column=%s), values: [%s, %s].",
            rowKey,
            columnKey,
            newValue,
            existingValue);
      }
    
      // redeclare to satisfy our test for b/310253115
      @Override
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        Integer oldValue = map.putInstance(Integer.class, Integer.valueOf(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
        assertEquals(7, (int) newValue);
        assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class)));
    
        // Won't compile: map.putInstance(Double.class, new Long(42));
      }
    
      public void testNull() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

     *     }
     *     V result = value;
     *     value = null;
     *     notifyAll();
     *     return result;
     *   }
     *
     *   public synchronized void set(V newValue) throws InterruptedException {
     *     while (value != null) {
     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }
     *
     * <h3>{@code ReentrantLock}</h3>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        public void test_overwriteValues() {
            dataStoreParams.put("key1", "originalValue");
            assertEquals("originalValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", "newValue");
            assertEquals("newValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", null);
            assertNull(dataStoreParams.get("key1"));
        }
    
        // Test multiple operations in sequence
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top