- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 693 for clears (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } if (supportsClear) { map.clear(); assertTrue(map.isEmpty()); } else { assertThrows(UnsupportedOperationException.class, () -> map.clear()); } assertInvariants(map); } @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return function.apply(k); } else { return null; } } @Override public void clear() { backingSet().clear(); } @Override protected Set<Entry<K, V>> createEntrySet() { @WeakOuter class EntrySetImpl extends EntrySet<K, V> { @Override Map<K, V> map() { return AsMapView.this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return function.apply(k); } else { return null; } } @Override public void clear() { backingSet().clear(); } @Override protected Set<Entry<K, V>> createEntrySet() { @WeakOuter class EntrySetImpl extends EntrySet<K, V> { @Override Map<K, V> map() { return AsMapView.this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public boolean containsValue(@Nullable Object value) { assertTrue(Thread.holdsLock(mutex)); return delegate.containsValue(value); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); delegate.clear(); } @Override public Collection<V> values() { assertTrue(Thread.holdsLock(mutex)); /* TODO: verify that the Collection is also synchronized? */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/app/pager/DataConfigPagerTest.java
import java.util.ArrayList; import java.util.List; import org.codelibs.fess.unit.UnitFessTestCase; public class DataConfigPagerTest extends UnitFessTestCase { public void test_DataConfigPager() { DataConfigPager dataconfigpager = new DataConfigPager(); dataconfigpager.clear(); assertEquals(0, dataconfigpager.getAllRecordCount()); assertEquals(0, dataconfigpager.getAllPageCount());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
removeMap(e.key); e.clear(); return value; } @Override public void putAll(final Map<? extends K, ? extends V> map) { for (final Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override public void clear() { for (int i = 0; i < mapTable.length; i++) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 24.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java
if (event instanceof ExecutionEvent) { ExecutionEvent executionEvent = (ExecutionEvent) event; if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { allHandlers.clear(); } } } public ArtifactHandler getArtifactHandler(String type) { requireNonNull(type, "null type"); ArtifactHandler handler = allHandlers.get(type);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/InterruptibleTask.java
static { // Prevent rare disastrous classloading in first call to LockSupport.park. // See: https://bugs.openjdk.java.net/browse/JDK-8074773 @SuppressWarnings("unused") Class<?> ensureLoaded = LockSupport.class; } private static final class DoNothingRunnable implements Runnable { @Override public void run() {} } // The thread executing the task publishes itself to the superclass' reference and the thread
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/SynonymPager.java
private List<Integer> pageNumberList; private int pageSize; private int currentPageNumber; public String id; public void clear() { allRecordCount = 0; allPageCount = 0; existPrePage = false; existNextPage = false; pageSize = getDefaultPageSize(); currentPageNumber = getDefaultCurrentPageNumber(); id = null; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0)