- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 738 for isEmpty (0.05 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java
* * @author Colin Decker */ @GwtCompatible final class GoogleHelpers { private GoogleHelpers() {} static void assertEmpty(Multimap<?, ?> multimap) { if (!multimap.isEmpty()) { fail("Not true that " + multimap + " is empty"); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ @CanIgnoreReturnValue public @Nullable E pollLast() { return isEmpty() ? null : removeAndGet(getMaxElementIndex()); } /** * Removes and returns the greatest element of this queue. * * @throws NoSuchElementException if the queue is empty */ @CanIgnoreReturnValue public E removeLast() { if (isEmpty()) { throw new NoSuchElementException(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
MavenArtifact(String repositoryUrl, Resource resource) { if (repositoryUrl == null) { this.repositoryUrl = ""; } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) { this.repositoryUrl = repositoryUrl + '/'; } else { this.repositoryUrl = repositoryUrl; } this.resource = resource;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
} } @Override public List<String> readMultipleLines() throws IOException { List<String> lines = new ArrayList<>(); for (String line = readLine(); line != null && !line.isEmpty(); line = readLine()) { lines.add(line); } return lines; } @Override public void write(String line) throws IOException { try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:48:41 GMT 2025 - 5.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
String c = getClassifier(); return getGroupId() + ':' + getArtifactId() + ':' + getExtension() + (c.isEmpty() ? "" : ":" + c) + ':' + getVersion(); } /** * {@return the group identifier of the artifact}. * * @see ArtifactCoordinates#getGroupId() */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
SimpleProblemCollector problems = new SimpleProblemCollector(); List<Profile> active = selector.getActiveProfiles(profiles, context, problems); assertTrue( active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active); assertEquals(1, problems.getErrors().size()); assertEquals(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java
.filter(a -> a.getVersion().startsWith("3.")) .map(a -> a.getGroupId() + ":" + a.getArtifactId() + ":" + a.getVersion()) .collect(Collectors.toSet()); if (!mavenArtifacts.isEmpty()) { pluginValidationManager.reportPluginValidationIssue( PluginValidationManager.IssueLocality.EXTERNAL, session, pluginArtifact,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
assertFalse(multimap.containsValue(1)); assertFalse(multimap.containsEntry("foo", 1)); assertTrue(multimap.entries().isEmpty()); assertTrue(multimap.equals(HashMultimap.create())); assertEquals(emptySet(), multimap.get("foo")); assertEquals(0, multimap.hashCode()); assertTrue(multimap.isEmpty()); assertEquals(HashMultiset.create(), multimap.keys()); assertEquals(emptySet(), multimap.keySet());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 27K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
/** * Reads all stories in the folders provided, asserts if no story found. */ @JvmStatic protected fun createStories(interopTests: Array<String>): List<Any> { if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING) val result = mutableListOf<Any>() for (interopTestName in interopTests) { val stories = HpackJsonUtil.readStories(interopTestName) result.addAll(stories)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Click Count (0)