- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 746 for isEmpty (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
@CollectionSize.Require(ONE) public void testValuesIteratorRemove() { Iterator<V> valuesItr = multimap().values().iterator(); valuesItr.next(); valuesItr.remove(); assertTrue(multimap().isEmpty()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
// ------------------------------------------------------------------------------------------- public MetadataTreeNode getClasspathAsTree() throws MetadataResolutionException { if (classpath == null || classpath.isEmpty()) { return null; } MetadataTreeNode tree = null; MetadataTreeNode parent = null; for (ArtifactMetadata md : classpath) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 4.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
return getGroupId() + ':' + getArtifactId() + ':' + getExtension() + ':' + c + (c.isEmpty() ? "" : ":") + getVersionConstraint(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
System.out.println("Project " + project1.getId() + " " + project1); Set set = project1.getArtifacts(); assertNotNull(set, "No artifacts"); assertFalse(set.isEmpty(), "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size()); while (iter.hasNext()) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
*/ @Test public void testClass() throws Exception { final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Foo.class); assertThat(map, is(notNullValue())); assertThat(map.isEmpty(), is(false)); assertThat(map.get(Foo.class.getTypeParameters()[0]), is(sameClass(Object.class))); } /** * @throws Exception */ public void testGenericMethod() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result); assertTrue(result.isEmpty()); verify(watchHandle, times(1)).watch(); } /** * Test watch() method throwing CIFSException */ @Test void testWatchThrowsCIFSException() throws CIFSException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isTrue import java.util.concurrent.CopyOnWriteArraySet import javax.net.ssl.SSLSocket
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read()); assertFalse(CharSource.concat(c1, c2, c3).isEmpty()); CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty()); assertTrue(emptyConcat.isEmpty()); } public void testConcat_infiniteIterable() throws IOException { CharSource source = CharSource.wrap("abcd");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.size(), equalTo(4)); } /** * @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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0)