- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 451 for key1 (0.13 sec)
-
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 20:46:24 GMT 2022 - 5.6K bytes - Viewed (0) -
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)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 4.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} @Override public @Nullable String put(String key, String value) { checkNotNull(key); return map.put(key, value); } }; } }, "HashMap w/out null keys", ALLOWS_NULL_VALUES); } private static Test testsForHashMapNullValuesForbidden() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(0, stats.hitCount()); Object key = new Object(); assertSame(key, cache.get(key)); stats = cache.stats(); assertEquals(1, stats.missCount()); assertEquals(1, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); key = new Object(); assertSame(key, cache.getUnchecked(key)); stats = cache.stats();
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/src/com/google/common/collect/SetMultimap.java
* * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a * {@link Set}, instead of the {@link java.util.Collection} specified in the {@link Multimap} * interface. */ @Override Set<V> get(@ParametricNullness K key); /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 4.5K bytes - Viewed (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)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* 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 * ordered pair of keys, a row key and column key. * <dt>{@link Multiset}
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-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
import static com.google.common.collect.testing.features.CollectionSize.ZERO; import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS; import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES; import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; import com.google.common.annotations.GwtCompatible;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
(oldV, newV) -> { throw new AssertionFailedError( "Should not call merge function if key was mapped to null"); })); expectReplacement(entry(getKeyForNullValue(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testMergeAbsentNullKey() { assertEquals( "Map.merge(null, value, function) should return value", v3(),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.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)); } protected final K k0() { return e0().getKey(); } protected final V v0() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6K bytes - Viewed (0)