- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,308 for key2 (0.1 sec)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
private final ImmutableList<String> keys; private final Random random = new Random(); private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) { this.multiset = multiset; this.keys = keys; } @Override public int[] call() throws Exception { int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* * @param keys the unique, non-null keys whose values should be loaded * @return a map from each key in {@code keys} to the value associated with that key; <b>may not * contain null values</b> * @throws Exception if unable to load the result * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
} @SuppressWarnings("unchecked") final Object legacyReadResolve() { K[] keys = (K[]) this.keys; V[] values = (V[]) this.values; Builder<K, V> builder = makeBuilder(keys.length); for (int i = 0; i < keys.length; i++) { builder.put(keys[i], values[i]); } return builder.buildOrThrow(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
} } @Override public boolean containsKey(@Nullable Object key) { return rangeContains(key) && super.containsKey(key); } @Override public @Nullable V put(C key, V value) { checkArgument(rangeContains(checkNotNull(key))); return super.put(key, value); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (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. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
Builder(int size) { super(size); } /** * Associates {@code key} with {@code value} in the built bimap. Duplicate keys or values are * not allowed, and will cause {@link #build} to fail. */ @CanIgnoreReturnValue @Override public Builder<K, V> put(K key, V value) { super.put(key, value); return this; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java
SortedMap<K, V> create(Object... elements); /** * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key * of {@link #belowSamplesGreater()}. */ Entry<K, V> belowSamplesLesser(); /** * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the * key of {@link #belowSamplesLesser()}. */ Entry<K, V> belowSamplesGreater(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultimap.java
} abstract Set<K> createKeySet(); @LazyInit private transient @Nullable Multiset<K> keys; @Override public Multiset<K> keys() { Multiset<K> result = keys; return (result == null) ? keys = createKeys() : result; } abstract Multiset<K> createKeys(); @LazyInit private transient @Nullable Collection<V> values; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.4K bytes - Viewed (0)