- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 92 for setValue2 (0.05 sec)
-
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
} finally { function = null; } /* * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling * setException(stackOverflowError) would fail: * * - If the stack overflowed before set()/setValue() could even store the result in the output
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertEquals("test", map.entrySet().iterator().next().getValue()); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1)); } public void testEntrySetToArrayMutationThrows() { map.putInstance(String.class, "test"); @SuppressWarnings("unchecked") // Should get a CCE later if cast is wrong
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashBiMapTest.java
assertEquals(2 * i, (int) inverse.get(2 * i - 1)); } Set<Entry<Integer, Integer>> entries = bimap.entrySet(); for (Entry<Integer, Integer> entry : entries) { entry.setValue(entry.getValue() + 2 * N); } for (int i = 0; i < N; i++) { assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i)); } } public void testBiMapEntrySetIteratorRemove() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
tm1.addProvide("version", "1.5"); tm1.addProvide("vendor", "sun"); Xpp3Dom configuration1 = new Xpp3Dom("configuration"); Xpp3Dom jdkHome1 = new Xpp3Dom("jdkHome"); jdkHome1.setValue("${env.JAVA_HOME}"); configuration1.addChild(jdkHome1); tm1.setConfiguration(configuration1); ToolchainModel tm2 = new ToolchainModel(); tm1.setType("jdk");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
@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); } @Override public int hashCode() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
} @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; } @Nullable ImmutableMapEntry<K, V> getNextInValueBucket() { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} @Override @ParametricNullness public K setValue(@ParametricNullness K key) { updateIndex(); if (index == ABSENT) { biMap.putInverse(value, key, false); return unsafeNull(); // see EntryForKey.setValue() } K oldKey = uncheckedCastNullableTToT(biMap.keys[index]); // see EntryForKey.setValue() if (Objects.equals(oldKey, key)) { return key;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
} @Override public void add(Entry<K, V> e) { throw new UnsupportedOperationException(); } void setValue(@ParametricNullness V value) { checkState(current != null); current.setValue(value); } } /** An {@code Iterator} over distinct keys in key head order. */ private final class DistinctKeyIterator implements Iterator<K> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) { this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask)); this.setKey(entryIndex, key); this.setValue(entryIndex, value); } /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length; if (newSize > entriesSize) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0)