- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 764 for map (0.46 sec)
-
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.NoSuchElementException; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for {@code TreeRangeMap}. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* <dd>An extension of {@link java.util.Map} that guarantees the uniqueness of its values as well * as that of its keys. This is sometimes called an "invertible map," since the restriction on * values enables it to support an {@linkplain BiMap#inverse inverse view} -- which is another * instance of {@code BiMap}. * <dt>{@link Table} * <dd>A new type, which is similar to {@link java.util.Map}, but which indexes its values by an
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jul 06 16:29:45 GMT 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableMapMapInterfaceTest.java
import com.google.common.annotations.GwtCompatible; import java.util.Map; @GwtCompatible public class RegularImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makeEmptyMap() { return ImmutableMap.of(); } @Override protected Map<String, Integer> makePopulatedMap() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 09 02:18:08 GMT 2022 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalCause.java
* result from the user invoking {@link Cache#put}, {@link LoadingCache#refresh}, {@link Map#put}, * {@link Map#putAll}, {@link ConcurrentMap#replace(Object, Object)}, or {@link * ConcurrentMap#replace(Object, Object, Object)}. */ REPLACED { @Override boolean wasEvicted() { return false; } }, /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
final LoadingCache<String, String> cache = CacheBuilder.newBuilder().build(computeFunction); ConcurrentMap<String, String> map = cache.asMap(); map.put(refreshKey, refreshKey); assertEquals(1, map.size()); assertFalse(map.containsKey(getKey)); assertSame(refreshKey, map.get(refreshKey)); new Thread() { @Override public void run() { cache.getUnchecked(getKey);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java
return ArrayTable.create(Arrays.asList("foo", "bar", "dog"), Arrays.asList(1, 2, 3)); } @Override protected Map<String, Map<Integer, Character>> makeEmptyMap() { throw new UnsupportedOperationException(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 01 22:53:42 GMT 2022 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
*/ @ElementTypesAreNonnullByDefault final class UndirectedGraphConnections<N, V> implements GraphConnections<N, V> { private final Map<N, V> adjacentNodeValues; private UndirectedGraphConnections(Map<N, V> adjacentNodeValues) { this.adjacentNodeValues = checkNotNull(adjacentNodeValues); } static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { switch (incidentEdgeOrder.type()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java
Table<Integer, String, Character> makeTable() { RowSortedTable<Integer, String, Character> original = TreeBasedTable.create(); return Tables.unmodifiableRowSortedTable(original); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); table.put(1, "foo", 'a'); table.put(1, "bar", 'b'); table.put(3, "foo", 'c');
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java
Table<Integer, String, Character> makeTable() { Table<Integer, String, Character> original = HashBasedTable.create(); return Tables.unmodifiableTable(original); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<Integer, String, Character> table = HashBasedTable.create(); table.put(1, "foo", 'a'); table.put(1, "bar", 'b'); table.put(3, "foo", 'c');
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java
public ImmutableMultimapAsMapImplementsMapTest() { super(false, false, false); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { return ImmutableMultimap.<String, Integer>of().asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> delegate = HashMultimap.create(); populate(delegate);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0)