- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 1,916 for Remove (0.13 seconds)
-
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
} } /** * Removes <b>all</b> occurrences of the specified element from this multiset. This method * complements {@link Multiset#remove(Object)}, which removes only one occurrence at a time. * * @param element the element whose occurrences should all be removed * @return the number of occurrences successfully removed, possibly zero */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
} // Remove state for old versions of Gradle that we're unlikely to ever require again fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("caches"), expireDistributionCache) // Remove scripts caches fileSystemOperations.removeCachedScripts(workerDir.dir("caches").asFile) // Remove script caches from TestKit integTest temp dirCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
return delegate.poll(); } @Override public E remove() { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(); } @Override public boolean remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(object); } @Override public @Nullable E peek() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
* * @param removeFrom the iterable to (potentially) remove elements from * @param predicate a predicate that determines whether an element should be removed * @return {@code true} if any elements were removed from the iterable * @throws UnsupportedOperationException if the iterable does not support {@code remove()}. * @since 2.0 */ @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 13:21:19 GMT 2025 - 14K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is: * * <ol> * <li>remove(); * <li>hasNext() * <li>hasNext(); * <li>remove(); * <li>next(); * </ol> * * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be * thought of as overkill; however, it's difficult to determine which proper subset of this massive
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
/* Should complain on attempt to remove() after peek(). */ assertThrows(IllegalStateException.class, () -> peekingIterator.remove()); assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek()); /* Should recover to be able to remove() after next(). */ assertEquals("B", peekingIterator.next()); peekingIterator.remove();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
} /** * A sensible, albeit inefficient, definition of {@link #remove} in terms of the {@code iterator} * method of {@link #entrySet}. If you override {@link #entrySet}, you may wish to override {@link * #remove} to forward to this implementation. * * <p>Alternately, you may wish to override {@link #remove} with {@code keySet().remove}, assuming * that approach would not lead to an infinite loop. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
maven-tests/mvnw.cmd
Write-Error "fail to move MAVEN_HOME" } } finally { try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} @Override public @Nullable String remove(Object key) { return map.remove(key); } @Override public boolean remove(Object key, Object value) { return map.remove(key, value); } class EntrySet extends AbstractSet<Map.Entry<String, String>> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0)