- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 800 for key (0.14 sec)
-
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
return addAndGet(key, 1); } /** * Decrements by one the value currently associated with {@code key}, and returns the new value. */ @CanIgnoreReturnValue public long decrementAndGet(K key) { return addAndGet(key, -1); } /** * Adds {@code delta} to the value currently associated with {@code key}, and returns the new * value. */ @CanIgnoreReturnValue
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* key. When a key-value pair is added to a multimap that didn't previously * contain any values for that key, a new collection generated by * createCollection is added to the map. That same collection instance * remains in the map as long as the multimap has any values for the key. If * all values for the key are removed, the key and collection are removed * from the map. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 48K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.get(KEY)).thenReturn(new AtomicInteger(COUNT)); assertEquals(COUNT, multiset.count(KEY)); } public void testCount_elementAbsent() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.count(KEY)); } public void testAdd_zero() { final int INITIAL_COUNT = 32; when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
List<String> keyAndValue = ImmutableList.copyOf(KEY_VALUE_SPLITTER.split(keyValuePair)); checkArgument(!keyAndValue.isEmpty(), "blank key-value pair"); checkArgument( keyAndValue.size() <= 2, "key-value pair %s with more than one equals sign", keyValuePair); // Find the ValueParser for the current key. String key = keyAndValue.get(0);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
@CheckForNull V get(Object key) { checkNotNull(key); V value = getIfCached(key); // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker. if (value == null) { return getWithoutCaching(key); } else { return value; } } @CheckForNull final V getWithoutCaching(Object key) { checkNotNull(key); return backingMap.get(key); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
return super.asMap(); } /** * Stores a key-value pair in the multimap. * * @param key key to store in the multimap * @param value value to store in the multimap * @return {@code true} if the method increased the size of the multimap, or {@code false} if the * multimap already contained the key-value pair */ @CanIgnoreReturnValue @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
} else if (key.startsWith(META_PREFIX)) { metaConfigMap.put(key.substring(META_PREFIX.length()), entry.getValue()); } else if (key.startsWith(VALUE_PREFIX)) { valueConfigMap.put(key.substring(VALUE_PREFIX.length()), entry.getValue()); } else if (key.startsWith(SCRIPT_PREFIX)) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultimap.java
public boolean remove(@CheckForNull Object key, @CheckForNull Object value) { return delegate().remove(key, value); } @CanIgnoreReturnValue @Override public Collection<V> removeAll(@CheckForNull Object key) { return delegate().removeAll(key); } @CanIgnoreReturnValue @Override public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.7K bytes - Viewed (0) -
android/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 = Maps.newHashMap(); // allow nulls for (K key : keys) { result.put(key, load(key)); } return result; } }; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 4.9K bytes - Viewed (0)