Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 383 for toArray (0.13 sec)

  1. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      public void testVerifyMegaStreamHalves() {
        assertThat(
                concat(megaPrimitiveDoubleStreamPart1(), megaPrimitiveDoubleStreamPart2())
                    .sorted()
                    .toArray())
            .isEqualTo(megaPrimitiveDoubleStream().toArray());
      }
    
      public void testAddAllPrimitiveDoubleStream() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(megaPrimitiveDoubleStreamPart1());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

                        Stream.concat(Stream.of(Constants.COMMON_CONVERSION_RULE), Stream.of(Constants.QUERIES)).toArray(n -> new String[n])));
                entity.setQueries(split(form.queries, "\n").get(stream -> stream.filter(StringUtil::isNotBlank).toArray(n -> new String[n])));
                return entity;
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    searchLog.setUserSessionId(userCode);
                    searchLog.setUserInfo(getUserInfo(userCode));
                }
            }
    
            searchLog.setRoles(roleQueryHelper.build(params.getType()).stream().toArray(n -> new String[n]));
            searchLog.setQueryId(queryId);
            searchLog.setHitCount(queryResponseList.getAllRecordCount());
            searchLog.setHitCountRelation(queryResponseList.getAllRecordCountRelation());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. internal/s3select/sql/evaluate.go

    	cmp = func(a, b Value) bool {
    		// Convert if needed.
    		inferTypesForCmp(&a, &b)
    
    		if a.Equals(b) {
    			return true
    		}
    
    		// If elements, compare each.
    		aA, aOK := a.ToArray()
    		bA, bOK := b.ToArray()
    		if aOK && bOK {
    			if len(aA) != len(bA) {
    				return false
    			}
    			for i := range aA {
    				if !cmp(aA[i], bA[i]) {
    					return false
    				}
    			}
    			return true
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. 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;
        }
    
        protected List<String> loadDataStoreNameList() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. 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()]));
        }
    
        public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) {
            BoolQueryBuilder builder;
            if (queryBuilder instanceof MatchAllQueryBuilder) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return copyOf(Arrays.asList(elements));
      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            @SuppressWarnings("unchecked") // safe because it came from `collection`
            E element = (E) elements[0];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/GroupService.java

            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
        protected void setupListCondition(final GroupCB cb, final GroupPager groupPager) {
            if (groupPager.id != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top