- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 751 for clear (0.03 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertEquals("4", map.get("d")); underlying.remove("c"); assertEquals(underlying.size(), map.size()); assertFalse(map.containsKey("c")); underlying.clear(); assertEquals(underlying.size(), map.size()); } public void testTransformChangesAreReflectedInUnderlyingMap() { Map<String, Integer> underlying = new LinkedHashMap<>(); underlying.put("a", 1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
result.getManagedVersions(), result.getResolutionRepositories()); cache.put(cacheKey, cacheRecord); } @Override public void flush() { cache.clear(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertTrue(delegateFuture.isCancelled()); delegateQueue.clear(); future = service.scheduleAtFixedRate(runnable, 5, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled()); delegateFuture = (ScheduledFuture<?>) delegateQueue.element(); assertTrue(delegateFuture.isCancelled()); delegateQueue.clear(); future = service.scheduleWithFixedDelay(runnable, 5, 5, MINUTES);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
} /** * Atomically removes all of the elements from this queue. The queue will be empty after this call * returns. */ @Override public void clear() { Monitor monitor = this.monitor; monitor.enter(); try { q.clear(); } finally { monitor.leave(); } } /** * Returns an iterator over the elements in this queue. The iterator does not return the elementsCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 18.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
public NavigableSet<E> elementSet() { return delegate().elementSet(); } /** * A sensible implementation of {@link SortedMultiset#elementSet} in terms of the following * methods: {@link SortedMultiset#clear}, {@link SortedMultiset#comparator}, {@link * SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count}, * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
Stopwatch timer = Stopwatch.createStarted(); Queues.drainUninterruptibly(q, new ArrayList<>(), 1, 10, MILLISECONDS); assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L); // wait for interrupted status and clear it while (!Thread.interrupted()) { Thread.yield(); } } private static class Producer implements Callable<@Nullable Void> { final BlockingQueue<Object> q; final int elements;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
/* * If we're about to complete the TimeoutFuture, we want to release our reference to it. * Otherwise, we'll pin it (and its result) in memory until the timeout task is GCed. (The * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested * class with a manual reference back to the "containing" class.) *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
public NavigableSet<E> elementSet() { return delegate().elementSet(); } /** * A sensible implementation of {@link SortedMultiset#elementSet} in terms of the following * methods: {@link SortedMultiset#clear}, {@link SortedMultiset#comparator}, {@link * SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count}, * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeMap.java
void putAll(RangeMap<K, ? extends V> rangeMap); /** Removes all associations from this range map (optional operation). */ void clear(); /** * Removes all associations from this range map in the specified range (optional operation). * * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.4K bytes - Click Count (0)