Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 329 for Streams (0.29 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

            }
            return Integer.toString(n);
          }
        };
    
        thread.start();
      }
    
      /**
       * This request body makes it possible for another thread to stream data to the uploading request.
       * This is potentially useful for posting live event streams like video capture. Callers should
       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractByteHasher.java

    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractByteHasher extends AbstractHasher {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     *   <li>{@link Maps}
     *   <li>{@link MoreCollectors}
     *   <li>{@link Multimaps}
     *   <li>{@link Multisets}
     *   <li>{@link ObjectArrays}
     *   <li>{@link Queues}
     *   <li>{@link Sets}
     *   <li>{@link Streams}
     *   <li>{@link Tables}
     * </ul>
     *
     * <h2>Abstract implementations</h2>
     *
     * <ul>
     *   <li>{@link AbstractIterator}
     *   <li>{@link AbstractSequentialIterator}
     *   <li>{@link UnmodifiableIterator}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Resources.java

       *     predefined constants
       * @return a string containing all the characters from the URL
       * @throws IOException if an I/O error occurs.
       */
      public static String toString(URL url, Charset charset) throws IOException {
        return asCharSource(url, charset).read();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            asDocMeta().id(id);
        }
    
        @Override
        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

                    final Set<String> permissionSet = new HashSet<>();
                    permissionSet.add(systemHelper.getSearchRoleByUser(name));
                    stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
                    stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s))));
                    permissions = permissionSet.toArray(new String[permissionSet.size()]);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        public void insert(final User user) {
            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        public boolean changePassword(final String username, final String password) {
            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.Comparator;
    import java.util.LinkedHashMap;
    import java.util.Locale;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import javax.annotation.PostConstruct;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top