Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 989 for asStream (2.13 sec)

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

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleNotFoundException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:07:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import java.util.stream.Collectors;
    
    import org.apache.maven.model.Plugin;
    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.CollectStepData;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            }
        }
    
        /**
         * Reloads the synonym dictionary from an input stream.
         *
         * @param updater An optional updater to apply changes.
         * @param in      The input stream to read the dictionary from.
         * @throws DictionaryException if the input stream cannot be parsed.
         */
        protected void reload(final SynonymUpdater updater, final InputStream in) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PythonJob.java

         *
         * @param values the argument values to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob args(final String... values) {
            stream(values).of(stream -> stream.forEach(argList::add));
            return this;
        }
    
        /**
         * Executes the Python script job.
         * Creates a session ID, sets up the execution environment, and runs the Python script
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

        }
    
        public List<String> getDependents(String id) {
            return graph.getVertex(id).getParents().stream().map(Vertex::getLabel).collect(Collectors.toList());
        }
    
        public List<String> getDependencies(String id) {
            return graph.getVertex(id).getChildren().stream().map(Vertex::getLabel).collect(Collectors.toList());
        }
    
        public static String getId(MavenProject project) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. 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()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java

        } // -- void write( Writer, CoreExtensions )
    
        /**
         * Method write.
         *
         * @param stream a stream object.
         * @param coreExtensions a coreExtensions object.
         * @throws IOException IOException if any.
         */
        public void write(OutputStream stream, CoreExtensions coreExtensions) throws IOException {
            XmlSerializer serializer = new MXSerializer();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. 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
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            final ExtractData result = filenameExtractor.getText(in, params);
    
            assertNotNull(result);
            assertEquals("", result.getContent());
        }
    
        /**
         * Test extraction with null input stream throws CrawlerSystemException.
         */
        public void test_getText_withNullInputStream() {
            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, "test.txt");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top