Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 320 for ToArray (2.38 sec)

  1. src/main/java/org/codelibs/fess/entity/FacetInfo.java

                field = StreamUtil.split(fessConfig.getQueryFacetFields(), ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).distinct().toArray(n -> new String[n]));
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSize())) {
                size = fessConfig.getQueryFacetFieldsSizeAsInteger();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

          chars.add(randomAlpha());
        }
        for (int i = 0; i < nonAlpha; i++) {
          chars.add(randomNonAlpha());
        }
        Collections.shuffle(chars, random);
        char[] array = Chars.toArray(chars);
        this.testString = new String(array);
      }
    
      private char randomAlpha() {
        return ALPHA.charAt(random.nextInt(ALPHA.length()));
      }
    
      private char randomNonAlpha() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf");
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
        }
    
        /**
         * Processes member-of information from Microsoft Graph API.
         * @param user The Azure AD user.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

        // We can't use Iterables.toArray() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                            getDelegate().getToolchains(session.getSession(), type);
                    return toolchains.stream()
                            .map(ToolchainManagerFactory.this::getToolchainV3)
                            .toArray(ToolchainPrivate[]::new);
                } catch (org.apache.maven.api.services.ToolchainManagerException e) {
                    throw new MisconfiguredToolchainException(e.getMessage(), e);
                }
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Doubles.java

       * @since 1.0 (parameter was {@code Collection<Double>} before 12.0)
       */
      public static double[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof DoubleArrayAsList) {
          return ((DoubleArrayAsList) collection).toDoubleArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        double[] array = new double[len];
        for (int i = 0; i < len; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                if ("$USERNAME".equals(s)) {
                    return username;
                }
                if ("$PASSWORD".equals(s)) {
                    return password;
                }
                return s;
            }).toArray(n -> new String[n]));
            final ProcessBuilder pb = new ProcessBuilder(cmds);
            if (workingDirectory != null) {
                pb.directory(workingDirectory);
            }
            pb.redirectErrorStream(true);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(Collection<Integer> indexes) {
          return new ScaleAndIndexes(scale, Ints.toArray(indexes));
        }
      }
    
      /**
       * Describes the point in a fluent API chain where the scale and a single quantile index (i.e. the
       * q and the k in the kth q-quantile) have been specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       * @since 1.0 (parameter was {@code Collection<Integer>} before 12.0)
       */
      public static int[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof IntArrayAsList) {
          return ((IntArrayAsList) collection).toIntArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        int[] array = new int[len];
        for (int i = 0; i < len; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top