- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 440 for toArray (0.62 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
switch (size()) { case 0: return ImmutableList.of(); case 1: return ImmutableList.of(iterator().next()); default: return new RegularImmutableAsList<E>(this, toArray()); } } /** If this collection is backed by an array of its elements in insertion order, returns it. */ Object @Nullable [] internalArray() { return null; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
groupList.size(), roleList.size(), groupIdsForParentLookup.size()); } // Set initial groups user.setGroups(groupList.stream().distinct().toArray(n -> new String[n])); user.setRoles(roleList.stream().distinct().toArray(n -> new String[n])); if (logger.isDebugEnabled()) { logger.debug("[updateMemberOf] Initial groups/roles set for user: {}. Groups: {}, Roles: {}", user.getName(),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:03:27 GMT 2026 - 56.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.4K bytes - Click Count (0) -
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(); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
if (elements.isEmpty()) { // We avoid allocating anything. return of(); } // Collection<E>.toArray() is required to contain only E instances, and all we do is read them. // TODO(cpovirk): Consider using Object[] anyway. @SuppressWarnings("unchecked") E[] array = (E[]) elements.toArray(); /* * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
} } final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",") .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n])); nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/")))); nodeManager.setHeartbeatInterval(fessConfig.getFesenHeartbeatInterval()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
public static <T extends @Nullable Object> T[] toArray( Iterable<? extends T> iterable, Class<@NonNull T> type) { return toArray(iterable, ObjectArrays.newArray(type, 0)); } static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) { Collection<? extends T> collection = castOrCopyToCollection(iterable); return collection.toArray(array); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (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) {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 02:01:26 GMT 2025 - 26.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} catch (UnsupportedOperationException expected) { } try { ((Collection<?>) multimap.asMap().values().toArray()[0]).clear(); fail("asMap().values().toArray()[0].clear() succeeded on unmodifiable multimap"); } catch (UnsupportedOperationException expected) { } } assertCollectionIsUnmodifiable(multimap.values(), sampleValue);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0)