- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 896 for key6 (0.02 seconds)
-
android/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/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}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testAsMapGetImplementsSet() { for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof Set); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemoveImplementsSet() { List<K> keys = new ArrayList<>(multimap().keySet()); for (K key : keys) { resetCollection(); assertTrue(multimap().asMap().remove(key) instanceof Set); } }
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) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* * {@snippet : * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder() * .maximumSize(10000) * .expireAfterWrite(Duration.ofMinutes(10)) * .removalListener(MY_LISTENER) * .build( * new CacheLoader<Key, Graph>() { * public Graph load(Key key) throws AnyException { * return createExpensiveGraph(key); * } * }); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
) private class ConcurrentMultiMap<K, V> { private val map = ConcurrentHashMap<K, MutableSet<V>>() fun add(key: K, value: V) = map.computeIfAbsent(key, { _ -> ConcurrentHashMap.newKeySet() }).add(value) fun getOrEmpty(key: K): Set<V> = map[key] ?: emptySet() } abstract class TestFilesCleanupService @Inject constructor( private val fileSystemOperations: FileSystemOperations,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/ForwardingMultimap.java
@Override public boolean remove(@Nullable Object key, @Nullable Object value) { return delegate().remove(key, value); } @CanIgnoreReturnValue @Override public Collection<V> removeAll(@Nullable Object key) { return delegate().removeAll(key); } @CanIgnoreReturnValue @Override public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultimap.java
@Override public boolean remove(@Nullable Object key, @Nullable Object value) { return delegate().remove(key, value); } @CanIgnoreReturnValue @Override public Collection<V> removeAll(@Nullable Object key) { return delegate().removeAll(key); } @CanIgnoreReturnValue @Override public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.1K bytes - Click Count (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)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
String key = virtualHostHelper.getVirtualHostKey(); assertEquals("", key); // Matching host header request.addHeader("Host", "example.com"); key = virtualHostHelper.getVirtualHostKey(); assertEquals("", key); // Still empty due to caching // Test caching by calling again - should return cached value key = virtualHostHelper.getVirtualHostKey();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
@Override public @Nullable V put(K key, V value) { checkNotNull(key); checkNotNull(value); int hash = hash(key); return segmentFor(hash).put(key, hash, value, false); } @Override public @Nullable V putIfAbsent(K key, V value) { checkNotNull(key); checkNotNull(value); int hash = hash(key); return segmentFor(hash).put(key, hash, value, true); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0)