- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for singletonList (0.19 sec)
-
maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java
.collect(Collectors.toMap(MavenProject::getArtifactId, identity())); // Set dependencies and modules projectModuleB.setDependencies(singletonList(toDependency(projectModuleA))); projectModuleC2.setDependencies(singletonList(toDependency(projectModuleB))); projectParent.setCollectedProjects(asList( projectIndependentModule, projectModuleA,
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 09:23:26 GMT 2023 - 27.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java
for (TaskSegment taskSegment : taskSegments) { List<MavenProject> projects; if (taskSegment.isAggregating()) { projects = Collections.singletonList(rootProject); } else { projects = session.getProjects(); } for (MavenProject project : projects) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java
InternalSession.associate(rsession, session); List<ProjectBuildingResult> results = projectBuilder.build( Collections.singletonList(new File("src/test/resources/projects/tree/pom.xml")), true, request); assertEquals(3, results.size()); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
.filter(projectAndSubmodules::contains) .collect(Collectors.toList()); // sorted and filtered to what we need } else { return Collections.singletonList(project); } } public void resolveProjectDependencies( MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 15.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertEquals(Collections.emptyList(), list); } public void testCreation_oneElement() { List<String> list = ImmutableList.of("a"); assertEquals(Collections.singletonList("a"), list); } public void testCreation_twoElements() { List<String> list = ImmutableList.of("a", "b"); assertEquals(Lists.newArrayList("a", "b"), list); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return Collections.singletonList(elements[0]); } }) .named("singletonList") .withFeatures( CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ONE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> set = asList("a", "b").iterator(); assertFalse(Iterators.contains(set, null)); } public void testGetOnlyElement_noDefault_valid() { Iterator<String> iterator = Collections.singletonList("foo").iterator(); assertEquals("foo", Iterators.getOnlyElement(iterator)); } public void testGetOnlyElement_noDefault_empty() { Iterator<String> iterator = Iterators.emptyIterator(); try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
for (String goal : goals) { PluginExecution pluginExecution = new PluginExecution(); pluginExecution.setId("default-" + goal); pluginExecution.setGoals(Collections.singletonList(goal)); plugin.addExecution(pluginExecution); } return plugin; } public void calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) {}
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java
lifecycle.setId("default"); lifecycle.setLifecyclePhases(Collections.unmodifiableMap(lifecyclePhaseBindings)); this.lifecycleMapping = new DefaultLifecycleMapping(Collections.singletonList(lifecycle)); } @Override public LifecycleMapping get() { return lifecycleMapping; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 15:34:45 GMT 2024 - 3.2K bytes - Viewed (0)