- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 923 for key7 (0.34 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
} assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key)); assertEquals(values.size() > 0, multimap().keySet().contains(key)); assertEquals(values.size() > 0, multimap().keys().contains(key)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { return loader.load(key); } @Override public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception { Map<K, V> result = new HashMap<>(); // allow nulls for (K key : keys) { result.put(key, load(key)); } return result; } }; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
} assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key)); assertEquals(values.size() > 0, multimap().keySet().contains(key)); assertEquals(values.size() > 0, multimap().keys().contains(key)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanMap.java
*/ public BeanMap() { } @Override public Object get(final Object key) { if (!containsKey(key)) { throw new IllegalKeyOfBeanMapException(key, this); } return super.get(key); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
* remove()}. Otherwise, all optional operations are supported. 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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
getMap() .replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); }); List<Entry<K, V>> orderedEntries = getOrderedElements(); int index = 0; for (K key : getMap().keySet()) { assertEquals(orderedEntries.get(index).getKey(), key); index++; } } @MapFeature.Require(absent = SUPPORTS_PUT)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
public Object load(Object key) throws Exception { return new Object(); } @Override public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception { Map<Object, Object> result = new HashMap<>(); for (Object key : keys) { Object value = new Object(); result.put(key, value); // add extra entries
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
guava/src/com/google/common/collect/BiMap.java
* provided key-value mapping, this method has no effect. * * <p>Note that a successful call to this method could cause the size of the bimap to increase by * one, stay the same, or even decrease by one. * * <p><b>Warning:</b> If an existing entry with this value is removed, the key for that entry is * discarded and not returned. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
import org.jspecify.annotations.Nullable; /** * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's * already in the multimap has no effect. This interface does not specify the ordering of the * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
} @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map. @Override @Nullable V get(Object key) { checkNotNull(key); V value = getIfCached(key); if (value != null) { return value; } value = getWithoutCaching(key); if (value != null) { addToCache((K) key, value); } return value; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0)