- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,161 for IsEmpty (0.13 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", collection.isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", collection.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
* limitations under the License. */ package okhttp3 import app.cash.burst.Burst import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import java.io.IOException import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import java.net.SocketTimeoutException
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 15:25:06 GMT 2026 - 11.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
// Apply default behavior when no specific options are provided if (defaultWhenNoOptionsSpecified && options.infer().isEmpty() && options.model().isEmpty() && options.plugins().isEmpty() && options.model().isEmpty()) { return true; } return false; } /** * Gets a description of what this strategy does.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/NetworkMutationTest.java
MutableNetwork<Integer, Object> network = networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build(); assertThat(network.nodes()).isEmpty(); assertThat(network.edges()).isEmpty(); AbstractNetworkTest.validateNetwork(network); while (network.nodes().size() < NUM_NODES) { network.addNode(gen.nextInt(NODE_POOL_SIZE)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
if (artifact.getGroupId().isEmpty() || artifact.getArtifactId().isEmpty() || artifact.getBaseVersion().toString().isEmpty()) { artifact = session.createProducedArtifact( artifact.getGroupId().isEmpty() ? project.getGroupId() : artifact.getGroupId(), artifact.getArtifactId().isEmpty() ? project.getArtifactId() : artifact.getArtifactId(),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
* @return the first element */ public E getFirst() { if (isEmpty()) { throw new NoSuchElementException(); } return getFirstEntry().element; } /** * Returns the last element. * * @return the last element */ public E getLast() { if (isEmpty()) { throw new NoSuchElementException(); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph); while (graph.nodes().size() < NUM_NODES) { graph.addNode(gen.nextInt(NODE_POOL_SIZE)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphMutationTest.java
for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph); while (graph.nodes().size() < NUM_NODES) { graph.addNode(gen.nextInt(NODE_POOL_SIZE)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
if (context.options().alsoMake().isPresent() && context.options().alsoMakeDependents().isEmpty()) { return MavenExecutionRequest.REACTOR_MAKE_UPSTREAM; } else if (context.options().alsoMake().isEmpty() && context.options().alsoMakeDependents().isPresent()) { return MavenExecutionRequest.REACTOR_MAKE_DOWNSTREAM;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
* Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)} * . */ @Test public void testIsEmptyCollectionOfQ() { Collection<String> c = null; assertThat(CollectionsUtil.isEmpty(c), is(true)); c = new ArrayList<String>(); assertThat(CollectionsUtil.isEmpty(c), is(true)); } /** * Test method forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0)