- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 746 for isEmpty (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
} @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testSingletonMapPollFirst() { assertEquals(a, navigableMap.pollFirstEntry()); assertTrue(navigableMap.isEmpty()); } @CollectionSize.Require(ONE) public void testSingletonMapNearby() { assertNull(navigableMap.lowerEntry(k0())); assertNull(navigableMap.lowerKey(k0()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout"); executor.shutdown(); // Then - Verify no exceptions occurred if (!exceptions.isEmpty()) { fail("Concurrent operations caused exceptions: " + exceptions.get(0)); } assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
* limitations under the License. */ package okhttp3.containers import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEmpty import assertk.assertions.isNotEmpty import java.io.ByteArrayOutputStream import java.io.PrintStream import java.util.concurrent.ExecutorService import java.util.concurrent.Executors import okhttp3.Dispatcher
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
return; } if (value instanceof Entity) { data.register(key, BeanUtil.copyBeanToNewMap(value)); } else { if (value instanceof final Collection<?> coll && !coll.isEmpty()) { // care performance for List that the most frequent pattern final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
if (repo != null) { String id = repo.getId(); if (id == null || id.isEmpty()) { throw new InvalidRepositoryException("Repository identifier missing", ""); } String url = repo.getUrl(); if (url == null || url.isEmpty()) { throw new InvalidRepositoryException("URL missing for repository " + id, id); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
} public void testIsEmpty() { assertThat(ImmutableIntArray.of().isEmpty()).isTrue(); assertThat(ImmutableIntArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableIntArray.of(0, 1, 3).isEmpty()).isFalse(); assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); assertTrue(map.isEmpty()); assertSame(map, ImmutableClassToInstanceMap.of()); assertSame(map, ImmutableClassToInstanceMap.copyOf(map)); } public void testOf_zero() { assertTrue(ImmutableClassToInstanceMap.of().isEmpty()); } public void testOf_one() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.removeAll(collection); } @Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return delegate.isEmpty(); } @Override public boolean contains(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.contains(object); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
try { Integer first = filtered.first(); assertFalse(filtered.isEmpty()); assertEquals(Ordering.natural().min(filtered), first); } catch (NoSuchElementException e) { assertTrue(filtered.isEmpty()); } } } public void testLast() { for (List<Integer> contents : SAMPLE_INPUTS) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0)