Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 625 for streams (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
                    .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList()))
                    .profiles(request.getProfiles().stream()
                            .map(Profile::getDelegate)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

    package org.apache.maven.lifecycle;
    
    import javax.inject.Inject;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.apache.maven.internal.impl.DefaultLifecycleRegistry;
    import org.apache.maven.internal.impl.DefaultLookup;
    import org.codehaus.plexus.PlexusContainer;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Comparators.java

       *
       * <p>For example:
       *
       * {@snippet :
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
       * }
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. 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
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. fastapi/responses.py

    
    class UJSONResponse(JSONResponse):
        """
        JSON response using the high-performance ujson library to serialize data to JSON.
    
        Read more about it in the
        [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.harness;
    
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.apache.commons.jxpath.ri.QName;
    import org.apache.commons.jxpath.ri.model.NodeIterator;
    import org.apache.commons.jxpath.ri.model.NodePointer;
    import org.apache.maven.api.xml.XmlNode;
    
    /**
    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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         */
        void write(Writer output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param output The stream to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata.io.xpp3;
    
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.List;
    import java.util.stream.Stream;
    import java.util.ArrayList;
    import java.util.Arrays;
    
    import org.gradle.api.DefaultTask;
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.file.FileCollection;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top