Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for setValue3 (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        }
        int oldCount = backingMap.getValue(entryIndex);
        long newCount = (long) oldCount + (long) occurrences;
        checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount);
        backingMap.setValue(entryIndex, (int) newCount);
        size += occurrences;
        return oldCount;
      }
    
      @CanIgnoreReturnValue
      @Override
      public final int remove(@Nullable Object element, int occurrences) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            for (final LabelType labelType : labelTypeList) {
                final LabelTypeItem item = new LabelTypeItem();
                item.setLabel(labelType.getName());
                item.setValue(labelType.getValue());
                item.setPermissions(labelType.getPermissions());
                item.setVirtualHost(labelType.getVirtualHost());
                item.setLocale(labelType.getLocale());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
        {
          Entry<Integer, String> entry = unmod.lowerEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
          Entry<Integer, String> entry = unmod.higherEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

        }
        {
          Entry<Integer, String> entry = unmod.lowerEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
          Entry<Integer, String> entry = unmod.higherEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoParamDbm.java

                    "key");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getValue(), (et, vl) -> ((CrawlingInfoParam) et).setValue(DfTypeUtil.toString(vl)),
                    "value");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
            return doFindEpg(_epgMap, prop);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

        }
    
        @Override
        @ParametricNullness
        public K setValue(@ParametricNullness K value) {
          K obverseKey = value;
          updateIndex();
          if (index == ABSENT) {
            obverse.putInverse(obverseValue, obverseKey, false);
            return unsafeNull(); // see EntryForKey.setValue()
          }
          K oldObverseKey =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java

                    (et, vl) -> ((RequestHeader) et).setUpdatedTime(DfTypeUtil.toLong(vl)), "updatedTime");
            setupEpg(_epgMap, et -> ((RequestHeader) et).getValue(), (et, vl) -> ((RequestHeader) et).setValue(DfTypeUtil.toString(vl)),
                    "value");
            setupEpg(_epgMap, et -> ((RequestHeader) et).getWebConfigId(),
                    (et, vl) -> ((RequestHeader) et).setWebConfigId(DfTypeUtil.toString(vl)), "webConfigId");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                if (boostList != null) {
                    boostList.forEach(pair -> list.add(new FilterFunctionBuilder(pair.getValue2(), pair.getValue3())));
                }
            });
        }
    
        /**
         * Retrieves a list of boosted documents for the specified KeyMatch.
         *
         * @param keyMatch The KeyMatch instance.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top