Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 456 for asStream (0.04 sec)

  1. guava/src/com/google/common/collect/MoreCollectors.java

      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
       * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.
       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        /**
         * Deletes a user from all authentication chains.
         * @param user The user to delete.
         */
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        Iterator<Entry<K, V>> entryIterator = entrySetIterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> e = entryIterator.next();
          stream.writeObject(e.getKey());
          stream.writeObject(e.getValue());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TableCollectorsTest.java

    import com.google.common.collect.Table.Cell;
    import com.google.common.testing.CollectorTester;
    import java.util.function.BiPredicate;
    import java.util.function.BinaryOperator;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Unit tests for {@link TableCollectors}. */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
      }
    
      /**
       * Returns true if this stream is open. A stream is open until either:
       *
       *  * A `SYN_RESET` frame abnormally terminates the stream.
       *  * Both input and output streams have transmitted all data and headers.
       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
       * not open. This is because input data is buffered.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
            final Map<String, List<QueryBuilder>> geoMap = new HashMap<>();
    
            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
    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/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.labeltype;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top