- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 345 for ToArray (0.06 sec)
-
guava/src/com/google/common/primitives/Shorts.java
* @since 1.0 (parameter was {@code Collection<Short>} before 12.0) */ public static short[] toArray(Collection<? extends Number> collection) { if (collection instanceof ShortArrayAsList) { return ((ShortArrayAsList) collection).toShortArray(); } Object[] boxedArray = collection.toArray(); int len = boxedArray.length; short[] array = new short[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 - 25.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
if (!docIdList.isEmpty()) { return deleteDocumentByQuery(searchEngineClient, fessConfig.getIndexDocumentUpdateIndex(), QueryBuilders.termsQuery(fessConfig.getIndexFieldDocId(), docIdList.stream().toArray(n -> new String[n]))); } return 0L; } /** * Updates a specific field of a document in the search index. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray trimmed = iia.trimmed(); assertThat(trimmed).isNotSameInstanceAs(iia); // Yes, this is apparently how you check array equality in Truth assertThat(trimmed.toArray()).isEqualTo(iia.toArray()); } private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) { assertThat(iia.trimmed()).isSameInstanceAs(iia); } @J2ktIncompatible @GwtIncompatible // suite
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); if (now - lastLoadedTime > 60000L) { final List<String> nameList = loadDataStoreNameList(); dataStoreNames = nameList.toArray(n -> new String[nameList.size()]); lastLoadedTime = now; } return dataStoreNames; } /** * Loads the list of available data store names by scanning plugin JAR files.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
for (final Map.Entry<String, List<String>> entry : paramListMap.entrySet()) { final List<String> list = entry.getValue(); paramMap.put(entry.getKey(), list.toArray(new String[list.size()])); } return paramMap; } /** * Cleans up resources when the filter is destroyed. * Currently performs no cleanup operations. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
List<@Nullable Object> passedArgs = new ArrayList<>(); for (Class<?> paramType : method.getParameterTypes()) { passedArgs.add(paramValues.generateFresh(paramType)); } return passedArgs.toArray(); } /** Tests a single interaction against a method. */ private static final class InteractionTester<T> extends AbstractInvocationHandler { private final Class<T> interfaceType;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
return asList = createAsList(); } else { return result; } } @Override ImmutableList<E> createAsList() { return new RegularImmutableAsList<E>(this, toArray()); } } abstract static class Indexed<E> extends ImmutableSet<E> { abstract E get(int index); @Override public UnmodifiableIterator<E> iterator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsBadWordCB.java
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); } if (_specification != null) { builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null); } return builder; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsElevateWordCB.java
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); } if (_specification != null) { builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null); } return builder; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsJobLogCB.java
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation); } if (_specification != null) { builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null); } return builder; } // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.1K bytes - Viewed (0)