- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 896 for key6 (0.04 seconds)
-
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
interface Construction<T> { @CanIgnoreReturnValue T create(List<?> keys); static Construction<Map<Object, Object>> mapFromKeys( Supplier<Map<Object, Object>> mutableSupplier) { return keys -> { Map<Object, Object> map = mutableSupplier.get(); for (Object key : keys) { map.put(key, new Object()); } return map; }; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
guava/src/com/google/common/collect/StandardTable.java
* Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof List); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemoveImplementsList() { List<K> keys = new ArrayList<>(multimap().keySet()); for (K key : keys) { resetCollection(); assertTrue(multimap().asMap().remove(key) instanceof List); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof List); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemoveImplementsList() { List<K> keys = new ArrayList<>(multimap().keySet()); for (K key : keys) { resetCollection(); assertTrue(multimap().asMap().remove(key) instanceof List); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* key. When a key-value pair is added to a multimap that didn't previously * contain any values for that key, a new collection generated by * createCollection is added to the map. That same collection instance * remains in the map as long as the multimap has any values for the key. If * all values for the key are removed, the key and collection are removed * from the map. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
viewHelper.setUseSession(true); assertTrue(viewHelper.isUseSession()); viewHelper.addInitFacetParam("key1", "value1"); assertEquals("key1", viewHelper.getInitFacetParamMap().get("value1")); viewHelper.addInitGeoParam("key2", "value2"); assertEquals("key2", viewHelper.getInitGeoParamMap().get("value2")); FacetQueryView facetQueryView = new FacetQueryView();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
* We assign these to variables before calling checkNotNull to work around a bug in our * nullness checker. */ K key = keyFunction.apply(t); V newValue = valueFunction.apply(t); accum.put( checkNotNull(key, "Null key for input %s", t), checkNotNull(newValue, "Null value for input %s", t)); }, EnumMapAccumulator::combine,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
* We assign these to variables before calling checkNotNull to work around a bug in our * nullness checker. */ K key = keyFunction.apply(t); V newValue = valueFunction.apply(t); accum.put( checkNotNull(key, "Null key for input %s", t), checkNotNull(newValue, "Null value for input %s", t)); }, EnumMapAccumulator::combine,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* over keys in the order they were first encountered in the input, and the values for each key * are iterated in the order they were encountered. If two values for the same key are {@linkplain * Object#equals equal}, the first value encountered is used. * * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
} private long runAddSingleThread(int reps) { Random random = new Random(); int nKeys = keys.size(); long blah = 0; for (int i = 0; i < reps; i++) { Integer key = keys.get(random.nextInt(nKeys)); int delta = random.nextInt(5); blah += delta; multiset.add(key, delta); } return blah; } private long runAddRemoveSingleThread(int reps) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0)