- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 84 for emptySet (0.05 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
assertThrows(IllegalStateException.class, () -> iterable.iterator()); } public void testFrom_empty() { Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet()); Iterator<String> iterator = iterable.iterator(); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
plugins.add(newPlugin("maven-install-plugin", "install")); plugins.add(newPlugin("maven-deploy-plugin", "deploy")); } else { plugins = Collections.emptySet(); } return plugins; } private Plugin newPlugin(String artifactId, String... goals) { Plugin plugin = new Plugin(); plugin.setGroupId("org.apache.maven.plugins");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
array[2] = 2; assertThat(iia.asList()).containsExactly(0L, 1L, 3L).inOrder(); } public void testCopyOf_iterable_notCollection_empty() { Iterable<Long> iterable = iterable(Collections.<Long>emptySet()); assertThat(ImmutableLongArray.copyOf(iterable)).isSameInstanceAs(ImmutableLongArray.of()); } public void testCopyOf_iterable_notCollection_nonempty() { List<Long> list = Arrays.asList(0L, 1L, 3L);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
} } collect = scopesToCollect == null ? Collections.emptySet() : Collections.unmodifiableSet(new HashSet<>(scopesToCollect)); resolve = scopesToResolve == null ? Collections.emptySet() : Collections.unmodifiableSet(new HashSet<>(scopesToResolve)); this.aggregating = aggregating;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
plugins.add(newPlugin("maven-install-plugin", "install")); plugins.add(newPlugin("maven-deploy-plugin", "deploy")); } else { plugins = Collections.emptySet(); } return plugins; } private Plugin newPlugin(String artifactId, String... goals) { Plugin plugin = new Plugin(); plugin.setGroupId("org.apache.maven.plugins");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
if (acceptedApiChanges != null) { this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()).keySet(); } else { this.acceptedApiChanges = Collections.emptySet(); } } @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContext context) { Map<String, Object> userData = (Map<String, Object>) context.getUserData();
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
lifeCycleDependencyResolver.resolveProjectDependencies( project, scopesToCollect, scopesToResolve, session, aggregating, Collections.emptySet()); dependencyContext.synchronizeWithProjectState(); } if (aggregating) { Collection<String> scopesToCollect = toScopes(mojoDescriptor.getDependencyCollectionRequired());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Absent.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
return this; } else if (newFromIndex < newToIndex) { return new RegularImmutableSortedSet<>( elements.subList(newFromIndex, newToIndex), comparator); } else { return emptySet(comparator); } } @Override int indexOf(@Nullable Object target) { if (target == null) { return -1; } int position; try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
assertThrows(IllegalStateException.class, () -> iterable.iterator()); } public void testFrom_empty() { Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet()); Iterator<String> iterator = iterable.iterator(); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2.6K bytes - Click Count (0)