Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for stream (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java

            private final Map<String, T> values;
    
            DefaultExtensibleEnumRegistry(List<P> providers, T... builtinValues) {
                values = Stream.<T>concat(
                                Stream.of(builtinValues), providers.stream().flatMap(p -> p.provides().stream()))
                        .collect(Collectors.toMap(t -> t.id(), t -> t));
            }
    
            @Override
            public Optional<T> lookup(String id) {
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

     */
    package org.apache.maven.internal.impl.resolver.relocation;
    
    import java.util.Arrays;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Priority;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.Model;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

    import java.util.Comparator;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Supplier;
    import java.util.stream.Collectors;
    
    import com.google.inject.AbstractModule;
    import com.google.inject.binder.AnnotatedBindingBuilder;
    import com.google.inject.name.Names;
    import org.apache.maven.api.services.MavenException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. 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(", "));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    package org.apache.maven.internal.impl;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.stream.Collectors;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.MojoExecution;
    import org.apache.maven.api.Node;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nonnull
        String asString();
    
        /**
         * Obtain a Stream containing this node and all its descendant.
         *
         * @return a stream containing this node and its descendant
         */
        @Nonnull
        default Stream<Node> stream() {
            return Stream.concat(Stream.of(this), getChildren().stream().flatMap(Node::stream));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Collection;
    import java.util.Set;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.services.MessageBuilder;
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.apache.maven.api.xml.XmlNode;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/LifecycleRegistry.java

     */
    package org.apache.maven.api.services;
    
    import java.util.List;
    import java.util.stream.Stream;
    import java.util.stream.StreamSupport;
    
    import org.apache.maven.api.Lifecycle;
    
    public interface LifecycleRegistry extends ExtensibleEnumRegistry<Lifecycle>, Iterable<Lifecycle> {
        default Stream<Lifecycle> stream() {
            return StreamSupport.stream(spliterator(), false);
        }
    
        List<String> computePhases(Lifecycle lifecycle);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.model;
    
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import com.ctc.wstx.stax.WstxInputFactory;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top