Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for existingValue (0.05 sec)

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

      /**
       * @throws IllegalArgumentException if {@code existingValue} is not null.
       */
      /*
       * We could have declared this method 'static' but the additional compile-time checks achieved by
       * referencing the type variables seem worthwhile.
       */
      final void checkNoDuplicate(R rowKey, C columnKey, @Nullable V existingValue, V newValue) {
        checkArgument(
            existingValue == null,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        }
    
        // Test getAsString with default value
        public void test_getAsStringWithDefaultValue() {
            dataStoreParams.put("existingKey", "existingValue");
            assertEquals("existingValue", dataStoreParams.getAsString("existingKey", "defaultValue"));
    
            assertNull(dataStoreParams.getAsString("nonExistentKey"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_unsupportedPresentExistingValue() {
        try {
          assertEquals("put(present, existingValue) should return present or throw", v0(), put(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test loading into existing map
            paramMap = new HashMap<>();
            paramMap.put("existing", "existingValue");
            configParam = "key1=value1\nkey2=value2";
            ParameterUtil.loadConfigParams(paramMap, configParam);
            assertEquals(3, paramMap.size());
            assertEquals("existingValue", paramMap.get("existing"));
            assertEquals("value1", 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)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_unsupportedPresentExistingValue() {
        try {
          assertEquals("put(present, existingValue) should return present or throw", v0(), put(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top