Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 1,041 for jstream (0.24 seconds)

  1. guava/src/com/google/common/io/Resources.java

              public List<String> getResult() {
                return result;
              }
            });
      }
    
      /**
       * Copies all bytes from a URL to an output stream.
       *
       * @param from the URL to read from
       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
      public static void copy(URL from, OutputStream to) throws IOException {
        asByteSource(from).copyTo(to);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            return Stream.iterate(this.project, Objects::nonNull, MavenProject::getParent)
                    .flatMap(project -> project.getModel().getDelegate().getProfiles().stream())
                    .toList();
        }
    
        @Override
        @Nonnull
        public List<Profile> getDeclaredActiveProfiles() {
            return project.getActiveProfiles().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/SmbResource.java

         * @return output stream, needs to be closed when finished
         * @throws CIFSException if an error occurs accessing the resource
         */
        OutputStream openOutputStream(boolean append) throws CIFSException;
    
        /**
         * Opens an output stream writing to the file (truncating, write only, sharable)
         *
         * @return output stream, needs to be closed when finished
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

     */
    package org.codelibs.fess.app.web.api.admin.labeltype;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    import static org.codelibs.fess.app.web.admin.labeltype.AdminLabeltypeAction.getLabelType;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

            return new ProjectBuildList(
                    items.stream().filter(pb -> taskSegment == pb.getTaskSegment()).collect(Collectors.toList()));
        }
    
        public Map<MavenProject, ProjectSegment> selectSegment(TaskSegment taskSegment) {
            return items.stream()
                    .filter(pb -> taskSegment == pb.getTaskSegment())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.BiConsumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java

        } // -- void write( Writer, Model )
    
        /**
         * Method write.
         *
         * @param stream a stream object.
         * @param model a model object.
         * @throws IOException java.io.IOException if any.
         */
        @Override
        public void write(OutputStream stream, Model model) throws IOException {
            super.write(stream, model);
        } // -- void write( OutputStream, Model )
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
            }
        }
    
        public String getLifecyclePhaseList() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                }
            }
    
            if (code >= 400 && stream != null) {
                when(conn.getErrorStream()).thenReturn(stream);
            } else if (stream != null) {
                when(conn.getInputStream()).thenReturn(stream);
            }
        }
    
        /**
         * Test helper class for mocking URL.openConnection() behavior
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CountingOutputStream.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CountingOutputStream extends FilterOutputStream {
    
      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top