- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for flatmap (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
.expect("A", "B", "C", "D", "E"); } public void testFlatMap() { SpliteratorTester.of( () -> CollectSpliterators.flatMap( Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}), (String str) -> charactersOf(str).spliterator(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
@GwtIncompatible public class ImmutableBiMapFloodingTest extends AbstractHashFloodingTest<BiMap<Object, Object>> { public ImmutableBiMapFloodingTest() { super( EnumSet.allOf(ConstructionPathway.class).stream() .flatMap( path -> Stream.<Construction<BiMap<Object, Object>>>of( keys -> path.create(transform(keys, key -> immutableEntry(key, new Object()))),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* iterator supports it. * * <p><b>{@code Stream} equivalent:</b> to concatenate an arbitrary number of streams, use {@code * Stream.of(stream1, stream2, ...).flatMap(s -> s)}. If the sources are iterables, use {@code * Stream.of(iter1, iter2, ...).flatMap(Streams::stream)}. * * @throws NullPointerException if any of the provided iterables is {@code null} * @since 20.0 */ @SafeVarargs
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
String id = id(nonNull(artifact, "artifact")); if (session.getMavenSession().getAllProjects() != null) { session.getMavenSession().getAllProjects().stream() .flatMap(this::getProjectArtifacts) .filter(a -> Objects.equals(id, id(a))) .forEach(a -> a.setFile(path != null ? path.toFile() : null)); } if (path == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java
this.lifecycle = lifecycle; this.id = lifecycle.id(); this.phases = registry.computePhases(lifecycle).stream() .flatMap(p -> Stream.of(BEFORE + p, p, AFTER + p)) .toList(); this.defaultPhases = getDefaultPhases(lifecycle); } // <lifecycle> // <id>clean</id> // <phases>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
public DefaultTypeRegistry( List<TypeProvider> providers, LanguageRegistry languageRegistry, LegacyArtifactHandlerManager manager) { this.types = nonNull(providers, "providers").stream() .flatMap(p -> p.provides().stream()) .collect(Collectors.toMap(Type::id, identity())); this.languageRegistry = nonNull(languageRegistry, "languageRegistry"); this.usedTypes = new ConcurrentHashMap<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
.flatMap(p -> p.getModel().getDelegate().getProfiles().stream()) .map(Profile::getId); final Stream<String> settingsProfiles = session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId); final Stream<String> superPomProfiles = superPomModels.values().stream() .flatMap(p -> p.getProfiles().stream())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 24 07:54:24 UTC 2024 - 5.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e); } } public String getLifecyclePhaseList() { return getLifeCycles().stream().flatMap(l -> l.getPhases().stream()).collect(Collectors.joining(", ")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
return stream().toList().iterator(); } @Override public Stream<Lifecycle> stream() { return providers.stream().map(ExtensibleEnumProvider::provides).flatMap(Collection::stream); } @Override public Optional<Lifecycle> lookup(String id) { return stream().filter(lf -> Objects.equals(id, lf.id())).findAny(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19.4K bytes - Viewed (0)