- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 174 for AsMap (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
map.put("foo", 1); map.put("bar", 2); Map<String, Collection<Integer>> asMap = Multimaps.forMap(map).asMap(); assertEquals(singleton(1), asMap.get("foo")); assertThat(asMap.get("cow")).isNull(); assertTrue(asMap.containsKey("foo")); assertFalse(asMap.containsKey("cow")); Set<Entry<String, Collection<Integer>>> entries = asMap.entrySet(); assertFalse(entries.contains((Object) 4.5));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object three = new Object(); cache.getUnchecked(three); assertThat(cache.stats().hitCount()).isEqualTo(1); assertThat(cache.stats().missCount()).isEqualTo(3); } // asMap tests public void testAsMap() { CacheBuilder<Object, Object> builder = createCacheBuilder(); LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object three = new Object(); cache.getUnchecked(three); assertThat(cache.stats().hitCount()).isEqualTo(1); assertThat(cache.stats().missCount()).isEqualTo(3); } // asMap tests public void testAsMap() { CacheBuilder<Object, Object> builder = createCacheBuilder(); LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* access. Access time is reset by all cache read and write operations (including {@code * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So, * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for * the entries you retrieve. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* returns collections whose iterators follow the ordering in which the data was added to the * multimap. * * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code * removeAll}, and {@code replaceValues} return collections that iterate through the values in theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java
} else { return ListTestSuiteBuilder.using( new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) .withFeatures(features) .named(parentBuilder.getName() + ".asMap[].get[key]") .suppressing(parentBuilder.getSuppressedTests()) .createTestSuite(); } } @Override Set<Feature<?>> computeMultimapGetFeatures(Set<Feature<?>> multimapFeatures) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
Integer value = getOnlyElement(entry.getValue()); builder.put(entry.getKey(), value); } return builder.buildOrThrow().asMultimap().asMap(); } @Override @SuppressWarnings({"unchecked", "rawtypes"}) // needed for arrays public Entry<String, Collection<Integer>>[] createArray(int length) { return new Entry[length]; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
* returns collections whose iterators follow the ordering in which the data was added to the * multimap. * * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code * removeAll}, and {@code replaceValues} return collections that iterate through the values in theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
ConcurrentMap<Integer, Integer> asMap = cache.asMap(); cache.put(10, 100); cache.put(2, 52); asMap.replace(2, 79); asMap.replace(3, 60); assertThat(cache.getIfPresent(3)).isNull(); assertThat(asMap.get(3)).isNull(); assertThat(cache.getIfPresent(2)).isEqualTo(79); assertThat(asMap.get(2)).isEqualTo(79); asMap.replace(10, 100, 50);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0)