Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 625 for streams (0.04 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Add an include
            resource.addInclude("*.xml");
    
            // Verify that the underlying SourceRoot collection was updated
            java.util.stream.Stream<org.apache.maven.api.SourceRoot> resourceSourceRoots =
                    project.getEnabledSourceRoots(ProjectScope.MAIN, Language.RESOURCES);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                        .anyMatch(repo -> "child1-repo".equals(repo.getId()));
                assertTrue(child1HasOwnRepo, "Child1 should have its own repository");
    
                // Verify that child2 has its own repository
                boolean child2HasOwnRepo = child2Project.getRemoteArtifactRepositories().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                            .flatMap(Lifecycle::allPhases)
                            .map(Lifecycle.Phase::name)
                            .toList();
                    // TODO: add goals dynamically
                    List<String> goals = List.of("wrapper:wrapper");
                    names = Stream.concat(phases.stream(), goals.stream()).toList();
                } catch (LookupException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.xml;
    
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.Writer;
    import java.util.ServiceLoader;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

        void write(Writer output, Map<String, Object> options, Settings settings) throws IOException;
    
        /**
         * Writes the supplied settings to the specified byte stream. The stream will be automatically closed before the
         * method returns.
         *
         * @param output The stream to serialize the settings 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: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

    import com.google.common.collect.testing.SpliteratorTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Spliterator;
    import java.util.stream.DoubleStream;
    import java.util.stream.IntStream;
    import java.util.stream.LongStream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /** Tests for {@code CollectSpliterators}. */
    @GwtCompatible
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/LinkedListMultimap.java

        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (Entry<K, V> entry : entries()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

    import java.io.File;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Optional;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.apache.maven.MavenExecutionException;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.ProjectActivation;
    import org.apache.maven.project.MavenProject;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            private final List<Object> keys;
            private final String type;
    
            Key(Collection<WorkspaceReader> readers) {
                keys = readers.stream().map(r -> r.getRepository().getKey()).collect(Collectors.toList());
                type = readers.stream().map(r -> r.getRepository().getContentType()).collect(Collectors.joining("+"));
            }
    
            public String getContentType() {
                return type;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

    @J2ktIncompatible
    @GwtIncompatible
    public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput {
    
      /**
       * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream.
       *
       * @param out the stream to delegate to
       */
      public LittleEndianDataOutputStream(OutputStream out) {
        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
Back to Top