Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 835 for streams (0.06 sec)

  1. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

     */
    package org.codelibs.fess.query;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.function.Consumer;
    import java.util.stream.Stream;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        newEventSource()
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
        assertThat(server.takeRequest().headers["Accept"])
          .isEqualTo("text/event-stream")
      }
    
      @Test
      fun eventListenerEvents() {
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        public String[] getExtraQueries() {
            return stream(ex_q).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
        }
    
        @Override
        public Map<String, String[]> getFields() {
            return fields;
        }
    
        @Override
        public String[] getLanguages() {
            return stream(lang).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

        public String sdh;
    
        @Override
        public String getQuery() {
            return q;
        }
    
        @Override
        public String[] getExtraQueries() {
            return stream(ex_q).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
        }
    
        @Override
        public Map<String, String[]> getFields() {
            return fields;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    stream(baseTags).of(stream -> stream.forEach(tag -> popularWordsRequestBuilder.addTag(tag)));
                    stream(baseRoles).of(stream -> stream.forEach(role -> popularWordsRequestBuilder.addRole(role)));
                    stream(baseFields).of(stream -> stream.forEach(field -> popularWordsRequestBuilder.addField(field)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Serialization.java

          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
       * for the data format.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

        public int hashCode() {
            return Objects.hash(modelId, location, inputs);
        }
    
        Stream<InputSource> sources() {
            return inputs != null ? inputs.stream() : Stream.of(this);
        }
    
        @Override
        public String toString() {
            if (inputs != null) {
                return inputs.stream().map(InputSource::toString).collect(Collectors.joining(", ", "merged[", "]"));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            return fileProtocols;
        }
    
        public boolean isValidWebProtocol(final String url) {
            return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s)));
        }
    
        public boolean isValidFileProtocol(final String url) {
            return stream(fileProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s)));
        }
    
        public void addWebProtocol(final String protocol) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                queryBuf.append(escapeQuery(query));
            }
    
            stream(params.getExtraQueries())
                    .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength).forEach(q -> {
                        appendQuery(queryBuf, q);
                    }));
    
            stream(params.getFields()).of(stream -> stream.forEach(entry -> {
                final String key = entry.getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

            body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                    .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
                    .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top