Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 124 for setValue1 (0.24 seconds)

  1. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2")));
    
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.entrySet().iterator().next().setValue("one"));
      }
    
      public void testTransformRemoveEntry() {
        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Properties props = new Properties();
            props.put("key", "${env.testKey}");
            Xpp3Dom configurationChild = new Xpp3Dom("jdkHome");
            configurationChild.setValue("${env.testKey}");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            configuration.addChild(configurationChild);
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                            if (interpolated != null && !interpolated.equals(value)) {
                                try {
                                    entry.setValue(interpolated);
                                } catch (UnsupportedOperationException ignore) {
                                    // nop
                                }
                            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            } catch (final Throwable t) {
                throw new IllegalPropertyRuntimeException(beanDesc.getBeanClass(), propertyName, t);
            }
        }
    
        @Override
        public void setValue(final Object target, final Object value) {
            assertArgumentNotNull("target", target);
    
            try {
                final Object convertedValue = convertIfNeed(value);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2")));
    
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.entrySet().iterator().next().setValue("one"));
      }
    
      public void testTransformRemoveEntry() {
        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    crawlingInfoParam.setCrawlingInfoId(crawlingInfo.getId());
                    crawlingInfoParam.setKey(entry.getKey());
                    crawlingInfoParam.setValue(entry.getValue());
                    crawlingInfoParamList.add(crawlingInfoParam);
                }
                getCrawlingInfoService().storeInfo(crawlingInfoParamList);
            }
    
            infoMap = null;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

                    continue;
                }
                final Object convertedValue = options.convertValue(value, destPropertyName, destPropertyDesc.getPropertyType());
                destPropertyDesc.setValue(dest, convertedValue);
            }
        }
    
        /**
         * Copies from a Bean to a {@literal Map}.
         *
         * @param src The source Bean. Must not be {@literal null}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  8. README.md

    import org.codelibs.core.beans.util.CopyOptions;
    
    // Bean metadata introspection
    BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
    PropertyDesc nameProperty = beanDesc.getPropertyDesc("name");
    nameProperty.setValue(bean, "John Doe");
    
    // Bean copying with flexible options
    BeanUtil.copyBeanToBean(source, destination);
    BeanUtil.copyBeanToBean(source, destination, options -> 
        options.exclude("password", "internalId"));
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      K getKey(int index) {
        checkElementIndex(index, size);
        return (K) keys[index];
      }
    
      int getValue(int index) {
        checkElementIndex(index, size);
        return values[index];
      }
    
      void setValue(int index, int newValue) {
        checkElementIndex(index, size);
        values[index] = newValue;
      }
    
      Entry<K> getEntry(int index) {
        checkElementIndex(index, size);
        return new MapEntry(index);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/MapMaker.java

     * instance retrieved from the map's {@linkplain Map#entrySet entry set} is a snapshot of that
     * entry's state at the time of retrieval; such entries do, however, support {@link
     * Map.Entry#setValue}, which simply calls {@link Map#put} on the entry's key.
     *
     * <p>The maps produced by {@code MapMaker} are serializable, and the deserialized maps retain all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top