- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 332 for setValue (0.06 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
} @Test void testSetPropertyWithSetter() throws Exception { TestBean bean = new TestBean(); PlexusConfiguration config = new XmlPlexusConfiguration("test"); config.setValue("testValue"); when(evaluator.evaluate("testValue")).thenReturn("testValue"); helper.setProperty(bean, "name", String.class, config); assertEquals("testValue", bean.getName());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL) public void testSetValue_valuePresent() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
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) -
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) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL) public void testSetValue_valuePresent() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
config4.setValue("true"); originalHelper.setProperty(bean, "enabled", Boolean.class, config4); PlexusConfiguration config3 = new XmlPlexusConfiguration("description"); config3.setValue("testValue"); originalHelper.setProperty(bean, "description", String.class, config3); PlexusConfiguration config2 = new XmlPlexusConfiguration("timeout"); config2.setValue("123");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 16.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
private void visit(Xpp3Dom dom) { if (dom != null) { String org, val; // Content org = dom.getValue(); val = interpolate(org); if (org != val) { dom.setValue(val); } // Attributes for (String attr : dom.getAttributeNames()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 43.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
backingMap.put(element, occurrences); size += occurrences; return 0; } 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
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) -
guava/src/com/google/common/collect/ArrayTable.java
} @Override @ParametricNullness public V getValue() { return ArrayMap.this.getValue(index); } @Override @ParametricNullness public V setValue(@ParametricNullness V value) { return ArrayMap.this.setValue(index, value); } }; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
} @Override @ParametricNullness public V getValue() { return ArrayMap.this.getValue(index); } @Override @ParametricNullness public V setValue(@ParametricNullness V value) { return ArrayMap.this.setValue(index, value); } }; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0)