- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 235 for setValue (0.05 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/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) -
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) -
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) -
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) -
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/ForwardingMapEntry.java
public K getKey() { return delegate().getKey(); } @Override @ParametricNullness public V getValue() { return delegate().getValue(); } @Override @ParametricNullness @CanIgnoreReturnValue public V setValue(@ParametricNullness V value) { return delegate().setValue(value); } @Override public boolean equals(@Nullable Object object) { return delegate().equals(object);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Table.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
public final K getKey() { return super.getKey(); } @Override @ParametricNullness public final V getValue() { return super.getValue(); } @Override @ParametricNullness public final V setValue(@ParametricNullness V value) { return super.setValue(value); } @Nullable ImmutableMapEntry<K, V> getNextInKeyBucket() { return null; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 01 21:42:29 GMT 2025 - 4.6K bytes - Click Count (0)