Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 751 for asStream (0.12 sec)

  1. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.util.stream.Stream;
    
    import org.apache.maven.artifact.handler.ArtifactHandlerMock;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent
       * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection
       * and use {@code Stream.generate(() -> collection).flatMap(Collection::stream)}.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterable<T> cycle(T... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  4. 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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java

        }
    
        @Override
        protected Client createClient() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder()
                    .putList("http.hosts", hosts)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

        @Nullable
        Path userHome();
    
        /**
         * Returns the input stream to be used for the Maven execution.
         * If not set, {@link System#in} will be used by default.
         *
         * @return the input stream, or null if not set
         */
        @Nullable
        InputStream stdIn();
    
        /**
         * Returns the output stream to be used for the Maven execution.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. 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 descendants.
         *
         * @return a stream containing this node and its descendants
         */
        @Nonnull
        default Stream<Node> stream() {
            return Stream.concat(Stream.of(this), getChildren().stream().flatMap(Node::stream));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(value)) {
                defaultResponseHeaders = Collections.emptyList();
                return;
            }
    
            StreamUtil.split(value, "\n").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> {
                final String[] values = StringUtils.split(s, "=", 2);
                List<Pair<String, String>> list = responseHeaderMap.get(values[0]);
                if (list == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/Handler.java

        private static URLStreamHandlerFactory factory;
    
        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .object("file1.txt")
                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1)
                    .contentType("application/octet-stream")
                    .build());
            minioClient.putObject(PutObjectArgs.builder()
                    .bucket(bucketName)
                    .object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top