Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for oldValue (0.12 sec)

  1. src/main/java/org/codelibs/fess/entity/ParamMap.java

            return parent.remove(toCamelCase(key), value);
        }
    
        @Override
        public boolean replace(final K key, final V oldValue, final V newValue) {
            if (parent.replace(key, oldValue, newValue)) {
                return true;
            }
            return parent.replace(key, oldValue, newValue);
        }
    
        @Override
        public V replace(final K key, final V value) {
            // use original key
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/BloomFilterStrategies.java

          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
            if (oldValue == newValue) {
              return false;
            }
          } while (!data.compareAndSet(longIndex, oldValue, newValue));
    
          // We turned the bit on, so increment bitCount.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TableCollectors.java

          @ParametricNullness C column,
          V value,
          BinaryOperator<V> mergeFunction) {
        checkNotNull(value);
        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);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      @CanIgnoreReturnValue
      public final double getAndAccumulate(int i, double x, DoubleBinaryOperator accumulatorFunction) {
        checkNotNull(accumulatorFunction);
        return getAndUpdate(i, oldValue -> accumulatorFunction.applyAsDouble(oldValue, x));
      }
    
      /**
       * Atomically updates the element at index {@code i} with the results of applying the given
       * function to the current and given values.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ExternalRepositoryResourceAccessor.java

            return resource == null ? null : resource.getMetaData().getLastModified().getTime();
        }
    
        @Override
        public boolean isUpToDate(String resource, @Nullable Long oldValue) {
            String[] parts = resource.split(";");
            if (!rootUriAsString.equals(parts[0])) {
                // not the same provider
                return false;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      public V put(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        Timestamped<V> oldValue = cachingHashMap.put(key, new Timestamped<V>(value, ticker));
        if (oldValue == null) {
          return null;
        }
        alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED);
        return oldValue.getValue();
      }
    
      @CanIgnoreReturnValue
      @Override
      public V remove(Object key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. src/mdo/transformer.vm

                }
            }
            return newMap;
        }
    
        protected XmlNode transform(XmlNode node) {
            if (node != null) {
                String oldValue = node.getValue();
                String newValue = transform(oldValue);
                Map<String, String> oldAttrs = node.getAttributes();
                Map<String, String> newAttrs = transform(oldAttrs, this::transform);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TableCollectors.java

          @ParametricNullness C column,
          V value,
          BinaryOperator<V> mergeFunction) {
        checkNotNull(value);
        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);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

        }
    
        public LoadingValueReference(@CheckForNull ValueReference<K, V> oldValue) {
          this.oldValue = (oldValue == null) ? LocalCache.unset() : oldValue;
        }
    
        @Override
        public boolean isLoading() {
          return true;
        }
    
        @Override
        public boolean isActive() {
          return oldValue.isActive();
        }
    
        @Override
        public int getWeight() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SparseImmutableTable.java

          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
          cellColumnInRowIndices[i] = thisRow.size();
          V oldValue = thisRow.put(columnKey, value);
          checkNoDuplicate(rowKey, columnKey, oldValue, value);
          requireNonNull(columns.get(columnKey)).put(rowKey, value);
        }
        this.cellRowIndices = cellRowIndices;
        this.cellColumnInRowIndices = cellColumnInRowIndices;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top