- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 976 for clear (0.22 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
/** * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is * a black-box test that tries to create lots of different thread-interleavings, and asserts that * each computation is affected by a call to {@code clear()} (and therefore gets passed to the * removal listener), or else is not affected by the {@code clear()} (and therefore exists in the * cache afterward). */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractBiMap.java
for (Entry<? extends K, ? extends V> entry : map.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override public void clear() { delegate.clear(); inverse.delegate.clear(); } // Views @Override public BiMap<V, K> inverse() { return inverse; } @LazyInit @CheckForNull private transient Set<K> keySet;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
return (unfiltered instanceof SetMultimap) ? Collections.<V>emptySet() : Collections.<V>emptyList(); } @Override public void clear() { entries().clear(); } @Override public Collection<V> get(@ParametricNullness K key) { return filterCollection(unfiltered.get(key), new ValuePredicate(key)); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 11.9K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/sync/61696.md
The [Map.Clear] method deletes all the entries, resulting in
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 10 17:07:25 GMT 2024 - 105 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
/** * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is * a black-box test that tries to create lots of different thread-interleavings, and asserts that * each computation is affected by a call to {@code clear()} (and therefore gets passed to the * removal listener), or else is not affected by the {@code clear()} (and therefore exists in the * cache afterward). */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 23.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
assertEquals(2000, intervalControlHelper.getDelay()); intervalControlHelper.ruleList.clear(); intervalControlHelper.addIntervalRule("12:15", "12:15", "*", 3000); assertEquals(3000, intervalControlHelper.getDelay()); intervalControlHelper.ruleList.clear(); intervalControlHelper.addIntervalRule("12:15", "12:15", "3,5", 4000);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractTable.java
return (row == null) ? null : Maps.safeGet(row, columnKey); } @Override public boolean isEmpty() { return size() == 0; } @Override public void clear() { Iterators.clear(cellSet().iterator()); } @CanIgnoreReturnValue @Override @CheckForNull public V remove(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jul 15 15:41:16 GMT 2021 - 6.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
operator fun set( hostname: String, addresses: List<InetAddress>, ): FakeDns { hostAddresses[hostname] = addresses return this } /** Clears the results for `hostname`. */ fun clear(hostname: String): FakeDns { hostAddresses.remove(hostname) return this } @Throws(UnknownHostException::class) fun lookup( hostname: String, index: Int,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testKeySet_clear() { for (LoadingCache<Object, Object> cache : caches()) { warmUp(cache, 0, 100); Set<Object> keys = cache.asMap().keySet(); keys.clear(); checkEmpty(keys); checkEmpty(cache); } } public void testKeySet_empty_remove() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
totalSize -= collection.size(); collection.clear(); return unmodifiableCollectionSubclass(output); } <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass( Collection<E> collection) { return Collections.unmodifiableCollection(collection); } @Override public void clear() { // Clear each collection, to make previously returned collections empty.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 48K bytes - Viewed (0)