- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for computeIfPresent (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
// use original key return parent.computeIfAbsent(key, mappingFunction); } @Override public V computeIfPresent(final K key, final BiFunction<? super K, ? super V, ? extends V> remappingFunction) { // use original key return parent.computeIfPresent(key, remappingFunction); } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
} } @Override @CheckForNull public V computeIfPresent( K key, BiFunction<? super K, ? super @NonNull V, ? extends @Nullable V> remappingFunction) { synchronized (mutex) { return delegate().computeIfPresent(key, remappingFunction); } } @Override @CheckForNull public V compute(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public final V computeIfPresent( K key, BiFunction<? super K, ? super V, ? extends @Nullable V> remappingFunction) { throw new UnsupportedOperationException(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { throw new UnsupportedOperationException(); } @Override @CheckForNull public V computeIfPresent( K key, BiFunction<? super K, ? super @NonNull V, ? extends @Nullable V> remappingFunction) { throw new UnsupportedOperationException(); } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
checkNotNull(key); checkNotNull(function); return compute(key, (k, oldValue) -> (oldValue == null) ? function.apply(key) : oldValue); } @Override @CheckForNull public V computeIfPresent( K key, BiFunction<? super K, ? super V, ? extends @Nullable V> function) { checkNotNull(key); checkNotNull(function);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)