- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 167 for ImmutableMap (0.08 sec)
-
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
*/ package com.google.common.cache; import static com.google.common.util.concurrent.Futures.immediateFuture; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.util.concurrent.ListenableFuture; import java.util.ArrayDeque; import java.util.Deque; import java.util.Map; import java.util.concurrent.Executor; import java.util.concurrent.Future;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
import static com.google.common.graph.GraphConstants.INNER_CAPACITY; import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterators; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
* of the type argument supplied by the user of the class: For example, {@code * ImmutableMap.get} returns {@code @Nullable E} because the method can return {@code null} * even on an {@code ImmutableMap<K, @NonNull String>}. * </ul> * * <p>Consumers of this annotation include: * * <ul> * <li>NullAway, which <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * GWT implementation of {@link ImmutableMap} that forwards to another map. * * @author Hayward Chan */ public abstract class ForwardingImmutableMap<K, V> extends ImmutableMap<K, V> { final transient Map<K, V> delegate; ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester public void testForMapWithDefaultSerializable() { checkCanReserialize(Functions.forMap(ImmutableMap.of(1, 2), 3)); } public void testForMapWithDefault_null() { ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1); Function<String, @Nullable Integer> function = Functions.forMap(map, null); assertEquals((Integer) 1, function.apply("One"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
@Nullable Comparator<? super V> valueComparator) { if (mapEntries.isEmpty()) { return of(); } ImmutableMap.Builder<K, ImmutableSet<V>> builder = new ImmutableMap.Builder<>(mapEntries.size()); int size = 0; for (Entry<? extends K, ? extends Collection<? extends V>> entry : mapEntries) { K key = entry.getKey();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
final ImmutableTable.Builder<Object, Object, Boolean> equivalentExpectationsBuilder = ImmutableTable.builder(); final ImmutableMap.Builder<Object, Integer> hashExpectationsBuilder = ImmutableMap.builder(); ImmutableTable<Object, Object, Boolean> equivalentExpectations; ImmutableMap<Object, Integer> hashExpectations; void expectEquivalent(Object a, Object b) { checkRecording();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
final ImmutableTable.Builder<Object, Object, Boolean> equivalentExpectationsBuilder = ImmutableTable.builder(); final ImmutableMap.Builder<Object, Integer> hashExpectationsBuilder = ImmutableMap.builder(); ImmutableTable<Object, Object, Boolean> equivalentExpectations; ImmutableMap<Object, Integer> hashExpectations; void expectEquivalent(Object a, Object b) { checkRecording();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java
import static com.google.common.graph.GraphConstants.INNER_CAPACITY; import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR; import com.google.common.collect.HashMultiset; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Multiset; import com.google.errorprone.annotations.concurrent.LazyInit; import java.lang.ref.Reference; import java.lang.ref.SoftReference; import java.util.Collections;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
@Nullable Comparator<? super V> valueComparator) { if (mapEntries.isEmpty()) { return of(); } ImmutableMap.Builder<K, ImmutableSet<V>> builder = new ImmutableMap.Builder<>(mapEntries.size()); int size = 0; for (Entry<? extends K, ? extends Collection<? extends V>> entry : mapEntries) { K key = entry.getKey();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0)