- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,032 for clear (0.37 sec)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
} /** * @throws Exception */ @Test public void testIsEmpty() throws Exception { assertThat(map.isEmpty(), is(not(true))); map.clear(); assertThat(map.isEmpty(), is(true)); } /** * @throws Exception */ @Test public void testContainsValue() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
public <T extends @Nullable Object> T[] toArray(T[] a) { return ObjectArrays.toArrayImpl(this, a); } @Override public void clear() { if (needsAllocArrays()) { return; } this.firstEntry = ENDPOINT; this.lastEntry = ENDPOINT;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
} @Override public Spliterator<E> spliterator() { return Spliterators.spliterator(this, Spliterator.ORDERED | Spliterator.DISTINCT); } @Override public void clear() { if (needsAllocArrays()) { return; } this.firstEntry = ENDPOINT; this.lastEntry = ENDPOINT;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
} }); // Run these together. fakePool.runAll(); // Check that this thread has been marked as interrupted again now that the thread has been // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose // JUnit or some other test case. assertThat(Thread.interrupted()).isTrue(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
// Set<Object> keys = map.keySet(); // assertThat(keys).containsExactly(one, three); // Collection<Object> values = map.values(); // assertThat(values).containsExactly(one, two); map.clear(); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); } public void testNoStats() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(2);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeSet.java
* * <p>This is equivalent to {@code remove(Range.all())}. * * @throws UnsupportedOperationException if this range set does not support the {@code clear} * operation */ void clear(); /** * Adds all of the ranges from the specified range set to this range set (optional operation). * After this operation, this range set is the minimal range set that {@linkplainRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
try { channel.getTransport().close(); } catch (Exception e) { log.debug("Error closing channel", e); } } channels.clear(); } private boolean supportsMultiChannel() { // Check if both client and server support multi-channel if (!context.getConfig().isUseMultiChannel()) { return false; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
@Override public void onEvent(Object event) { if (event instanceof ExecutionEvent executionEvent) { if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { allHandlers.clear(); } } } @Override public ArtifactHandler getArtifactHandler(String id) { return allHandlers.computeIfAbsent(id, k -> { Type type = typeRegistry.require(id);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 3.4K bytes - Viewed (0)