- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 170 for ImmutableMap (0.4 sec)
-
android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
final class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> { static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap(); private EmptyImmutableListMultimap() { super(ImmutableMap.of(), 0); } /* * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most * of common.collect a second time with the results of the first compilation on the classpath. Or
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
*/ @GwtIncompatible @J2ktIncompatible @NullUnmarked @SuppressWarnings("nullness") class FreshValueGenerator { private static final ImmutableMap<Class<?>, Method> GENERATORS; static { ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder(); for (Method method : FreshValueGenerator.class.getDeclaredMethods()) { if (method.isAnnotationPresent(Generates.class)) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) { throw new UnsupportedOperationException(); } /** * Not supported. This method does not make sense for {@code BiMap}. This method exists only to
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ExplicitOrdering.java
@GwtCompatible final class ExplicitOrdering<T> extends Ordering<T> implements Serializable { final ImmutableMap<T, Integer> rankMap; ExplicitOrdering(List<T> valuesInOrder) { this(Maps.indexMap(valuesInOrder)); } ExplicitOrdering(ImmutableMap<T, Integer> rankMap) { this.rankMap = rankMap; } @Override public int compare(T left, T right) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java
table.put("b", "x", "n"); table.put("a", "a", "d"); table.row("b").subMap("c", "x").clear(); assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n")); table.row("b").subMap("b", "y").clear(); assertEquals(table.row("b"), ImmutableMap.of()); assertFalse(table.backingMap.containsKey("b")); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
public void testPercentiles_indexes_varargsPairs_compute_doubleCollection() { for (int index1 = 0; index1 <= 100; index1++) { for (int index2 = 0; index2 <= 100; index2++) { ImmutableMap.Builder<Integer, Double> expectedBuilder = ImmutableMap.builder(); expectedBuilder.put(index1, expectedLargeDatasetPercentile(index1)); if (index2 != index1) { expectedBuilder.put(index2, expectedLargeDatasetPercentile(index2));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0)