- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 380 for ToArray (0.03 sec)
-
guava/src/com/google/common/collect/Maps.java
} @Override public @Nullable Object[] toArray() { // creating an ArrayList so filtering happens once return Lists.newArrayList(iterator()).toArray(); } @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] array) { return Lists.newArrayList(iterator()).toArray(array);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
this.values = ImmutableList.copyOf(Doubles.asList(values)); } ImmutableList<Double> asIterable() { return values; } double[] asArray() { return Doubles.toArray(values); } boolean hasAnyPositiveInfinity() { return Iterables.any(values, Predicates.equalTo(POSITIVE_INFINITY)); } boolean hasAnyNegativeInfinity() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.8K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
// new AuthScope("www.hoge.com", 80), // new UsernamePasswordCredentials("username", "password"), // digestScheme)); // paramMap.put( // HcHttpClient.AUTHENTICATIONS_PROPERTY, // basicAuthList.toArray(new Authentication[basicAuthList.size()])); // // List<Callable<ResponseData>> list = // new ArrayList<Callable<ResponseData>>(); // for (int i = 0; i < 100; i++) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 11.7K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
final List<FilterFunctionBuilder> list = new ArrayList<>(); functionScoreQuery.accept(list); queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()])); } /** * Adds additional query clauses using a boolean query builder. * @param boolQuery Consumer that configures the boolean query. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 27.6K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 26.1K bytes - Viewed (0)