- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 345 for ToArray (0.06 sec)
-
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) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} } } ImmutableList<Integer> webSafeColors = webSafeColorsBuilder.build(); assertEquals(216, webSafeColors.size()); Integer[] webSafeColorArray = webSafeColors.toArray(new Integer[webSafeColors.size()]); assertEquals(0x000000, (int) webSafeColorArray[0]); assertEquals(0x000033, (int) webSafeColorArray[1]); assertEquals(0x000066, (int) webSafeColorArray[2]);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
final String targets = System.getProperty(TARGET_INDICES); if (StringUtil.isNotBlank(targets)) { targetIndices = Arrays.stream(targets.split(",")).map(String::trim).toArray(n -> new String[n]); } } /** * Sets the address of the OpenSearch instance. * @param address The address. */ public void setAddress(final String address) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0) -
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) -
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) -
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) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
if (!q.isIntact()) { fail("State " + Arrays.toString(q.toArray())); } } private static void assertIntactUsingSeed(long seed, MinMaxPriorityQueue<?> q) { if (!q.isIntact()) { fail("Using seed " + seed + ". State " + Arrays.toString(q.toArray())); } } private static void assertIntactUsingStartedWith(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
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) -
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) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
for (int i = 0; i < entry.getCount(); i++) { contents.add(entry.getElement()); } } return ((Multiset<E>) gen.create(contents.toArray())).entrySet(); } @SuppressWarnings("unchecked") @Override public Multiset.Entry<E>[] createArray(int length) { return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0)