Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 348 for toArray (0.04 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsScheduledJobCB.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.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsWebAuthenticationCB.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.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RoleService.java

            userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> {
                entity.setRoles(
                        stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
        }
    
        /**
         * Sets up the list condition for the role query.
         * @param cb The role condition bean.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/DummyProxy.java

        interfaceClasses.add(Serializable.class);
        Object dummy =
            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java

            out.writeOptionalString(modelName);
            out.writeOptionalString(featureSetName);
            out.writeMap(params);
            out.writeOptionalStringArray(activeFeatures != null ? activeFeatures.toArray(new String[0]) : null);
            out.writeOptionalString(storeName);
        }
    
        @Override
        protected void doXContent(final XContentBuilder builder, final Params params) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
            entries.add(mapEntry(entry.getKey(), valuesArray[i++]));
          }
    
          return mapGenerator.create(entries.toArray()).values();
        }
    
        @Override
        public V[] createArray(int length) {
          V[] vs =
              ((TestBiMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createValueArray(length);
          return vs;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                } else {
                    final boolean prefixQuery = !q.endsWith(" ") && !q.endsWith(" ");
                    List<String> readingList = new ArrayList<>();
    
                    final String[] langsArray = languages.toArray(new String[languages.size()]);
    
                    final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
                    final String[] queries = q.replace(" ", " ").replaceAll(" +", " ").trim().split(" ");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. 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.
        E[] array = (E[]) elements.toArray();
        /*
         * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                    }
                }
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to load default badwords.", e);
            }
            defaultWords = list.toArray(new String[list.size()]);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

                copy.addLast(e.element);
            }
            return copy;
        }
    
        /**
         * Converts the list to an array.
         *
         * @return the array
         */
        public Object[] toArray() {
            final Object[] result = new Object[size];
            int i = 0;
            for (Entry e = header.next; e != header; e = e.next) {
                result[i++] = e.element;
            }
            return result;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top