- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 405 for Keys (0.35 sec)
-
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
List<? extends Entry<?, ?>> entries = Lists.newArrayList(map.entrySet()); List<Object> keys = Lists.newArrayList(map.keySet()); List<Object> values = Lists.newArrayList(map.values()); assertEquals(2 * entries.size(), alternatingKeysAndValues.length); assertEquals(2 * keys.size(), alternatingKeysAndValues.length); assertEquals(2 * values.size(), alternatingKeysAndValues.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 21 14:41:51 GMT 2020 - 6.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
map.put(element, element); } return map; } }, UnmodHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.unmodifiableMap(Hash.create(keys)); } }, SyncHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.synchronizedMap(Hash.create(keys)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
/** * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link * LoadingCache#getAll}. * * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does * contain will be cached, but {@code getAll} will throw an exception. If the returned map * contains extra keys not present in {@code keys} then all returned entries will be cached, but
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
/** * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys * and values are the result of applying the provided mapping functions to the input elements. * Entries appear in the result {@code ImmutableBiMap} in encounter order. * * <p>If the mapped keys or values contain duplicates (according to {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
keys -> path.create( Lists.transform( keys, key -> Maps.immutableEntry(key, new Object()))), keys -> path.create( Lists.transform( keys, key -> Maps.immutableEntry(new Object(), key))),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
.withFeatures( MapFeature.GENERAL_PURPOSE, MapFeature.ALLOWS_NULL_KEYS, MapFeature.ALLOWS_NULL_VALUES, MapFeature.ALLOWS_ANY_NULL_QUERIES, MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION, MapFeature.RESTRICTS_KEYS, MapFeature.RESTRICTS_VALUES, CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
private final ImmutableList<String> keys; private final Random random = new Random(); private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) { this.multiset = multiset; this.keys = keys; } @Override public int[] call() throws Exception { int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys];
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
private static final int DEFAULT_EXPECTED_KEYS = 8; /** Uses a hash table to map keys to value collections. */ public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() { return hashKeys(DEFAULT_EXPECTED_KEYS); } /** * Uses a hash table to map keys to value collections, initialized to expect the specified number * of keys. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
.addEqualityGroup(cache.asMap().keySet(), keys) .addEqualityGroup(ImmutableSet.of()) .testEquals(); assertEquals(WARMUP_SIZE, keys.size()); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Object key = warmed.get(i - WARMUP_MIN).getKey(); assertTrue(keys.contains(key)); assertTrue(keys.remove(key)); assertFalse(keys.remove(key)); assertFalse(keys.contains(key));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
/** * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys * and values are the result of applying the provided mapping functions to the input elements. * Entries appear in the result {@code ImmutableBiMap} in encounter order. * * <p>If the mapped keys or values contain duplicates (according to {@link
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 16:03:42 GMT 2023 - 22.6K bytes - Viewed (0)