- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 896 for key6 (0.04 seconds)
-
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
.addEqualityGroup(ImmutableSet.of()) .testEquals(); assertThat(keys).hasSize(WARMUP_SIZE); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Object key = warmed.get(i - WARMUP_MIN).getKey(); assertThat(keys.contains(key)).isTrue(); assertThat(keys.remove(key)).isTrue(); assertThat(keys.remove(key)).isFalse();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimap.java
* multimap already contained the key-value pair and doesn't allow duplicates */ @CanIgnoreReturnValue boolean put(@ParametricNullness K key, @ParametricNullness V value); /** * Removes a single key-value pair with the key {@code key} and the value {@code value} from this * multimap, if such exists. If multiple key-value pairs in the multimap fit this description, * which one is removed is unspecified. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
int[] entries = requireEntries(); @Nullable Object[] keys = requireKeys(); @Nullable Object[] values = requireValues(); int srcIndex = size() - 1; if (dstIndex < srcIndex) { // move last entry to deleted spot Object key = keys[srcIndex]; keys[dstIndex] = key; values[dstIndex] = values[srcIndex]; keys[srcIndex] = null; values[srcIndex] = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
Entry<K, V> entry = requireNonNull(entryArray[i]); K key = entry.getKey(); V value = entry.getValue(); checkEntryNotNull(key, value); keys[i] = key; values[i] = value; checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry); prevKey = key; } } return new ImmutableSortedMap<>(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 52.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Table.java
/** * A collection that associates an ordered pair of keys, called a row key and a column key, with a * single value. A table may be sparse, with only a small fraction of row key / column key pairs * possessing a corresponding value. * * <p>The mappings corresponding to a given row key may be viewed as a {@link Map} whose keys are * the columns. The reverse is also available, associating a column with a row key / value map. NoteCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
} /** * Uses a hash table to map keys to value collections. * * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link * Multimap#asMap()} will iterate through the keys in the order that they were first added to the * multimap, save that if all values associated with a key are removed and then the key is added * back into the multimap, that key will come last in the key iteration order. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 18K bytes - Click Count (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
} /** * Uses a hash table to map keys to value collections. * * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link * Multimap#asMap()} will iterate through the keys in the order that they were first added to the * multimap, save that if all values associated with a key are removed and then the key is added * back into the multimap, that key will come last in the key iteration order. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 18K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
Multiset<K> createKeys() { return new Keys(); } @WeakOuter final class Keys extends Multimaps.Keys<K, V> { Keys() { super(FilteredEntryMultimap.this); } @Override public int remove(@Nullable Object key, int occurrences) { checkNonnegative(occurrences, "occurrences"); if (occurrences == 0) { return count(key); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
/** Discards any cached value for key {@code key}. */ void invalidate(@CompatibleWith("K") Object key); /** * Discards any cached values for keys {@code keys}. * * @since 11.0 */ // For discussion of <? extends Object>, see getAllPresent. void invalidateAll(Iterable<? extends Object> keys); /** Discards all entries in the cache. */ void invalidateAll();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* either key is null or isn't among the keys provided during construction, this method has no * effect. * * <p>This method is equivalent to {@code put(rowKey, columnKey, null)} when both provided keys * are valid. * * @param rowKey row key of mapping to be erased * @param columnKey column key of mapping to be erased
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0)