- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for setValue5 (0.04 sec)
-
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})
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 03:23:31 UTC 2025 - 7.5K bytes - Viewed (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})
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 03:23:31 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
} 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 public final int remove(@Nullable Object element, int occurrences) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 23:15:58 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
} { Entry<Integer, String> entry = unmod.lowerEntry(2); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } { Entry<Integer, String> entry = unmod.higherEntry(2); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
} { Entry<Integer, String> entry = unmod.lowerEntry(2); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } { Entry<Integer, String> entry = unmod.higherEntry(2); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} @Override @ParametricNullness public K setValue(@ParametricNullness K value) { K obverseKey = value; updateIndex(); if (index == ABSENT) { obverse.putInverse(obverseValue, obverseKey, false); return unsafeNull(); // see EntryForKey.setValue() } K oldObverseKey =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
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(),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 03:23:31 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
final String comment = childNode.getNodeValue().trim(); if (comment.startsWith("googleoff:")) { flag.setValue(false); } else if (comment.startsWith("googleon:")) { flag.setValue(true); } } if (!flag.getValue() && childNode.getNodeType() == Node.TEXT_NODE) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Dec 12 13:58:40 UTC 2025 - 54.6K bytes - Viewed (0)