Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 332 for setValue (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    for (DispatcherMeta.Field field : meta.fields()) {
                        ConfigProperty property = new ConfigProperty();
                        property.setName(field.getKey());
                        property.setValue(dispatcherConfigResult.get(field.getKey()).getResult());
                        dispatcherConfig.addProperty(property);
                    }
                    if (!dispatcherConfig.getProperties().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

                .isSameInstanceAs(entry.getValue());
            Object newKey = new Object();
            assertThat(cache.asMap().putIfAbsent(newKey, entry.getValue())).isNull();
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue());
            assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue());
            // don't let the new entry get GCed
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
                 */
                .suppressing(
                    MapEntrySetTester.getSetValueMethod(),
                    MapEntrySetTester.getSetValueWithNullValuesAbsentMethod(),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        protected Entry<K, V> delegate() {
          return delegate;
        }
    
        @Override
        @ParametricNullness
        public V setValue(@ParametricNullness V value) {
          throw new UnsupportedOperationException();
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            }
        }
    
        private Xpp3Dom newDom(String name, String value, InputLocation location) {
            Xpp3Dom dom = new Xpp3Dom(name, location);
            dom.setValue(value);
            return dom;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

        }
    
        @Override
        @ParametricNullness
        public V setValue(@ParametricNullness V value) {
          Map<K, V> delegate = delegateOrNull();
          if (delegate != null) {
            return uncheckedCastNullableTToT(delegate.put(key, value)); // See discussion in getValue().
          }
          updateLastKnownIndex();
          if (lastKnownIndex == -1) {
            put(key, value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(UnsupportedOperationException.class, () -> fromIterator.setValue(2));
        Entry<String, Integer> fromToArray = (Entry<String, Integer>) unmod.entries().toArray()[0];
        assertThrows(UnsupportedOperationException.class, () -> fromToArray.setValue(2));
        Entry<String, Integer>[] array = (Entry<String, Integer>[]) new Entry<?, ?>[2];
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          return null;
        }
        alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED);
        return oldValue.getValue();
      }
    
      @CanIgnoreReturnValue
      @Override
      public V remove(Object key) {
        Timestamped<V> stamped = cachingHashMap.remove(key);
        if (stamped != null) {
          V value = stamped.getValue();
          // `key` was in the cache, so it's a K.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  10. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top