Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 231 for toList (0.07 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToList() throws Exception {
            final Object a = new int[] { 1, 5 };
            final List<Integer> list = ArrayUtil.toList(a);
            assertThat(list.get(0), is(Integer.valueOf(1)));
            assertThat(list.get(1), is(Integer.valueOf(5)));
        }
    
        /**
         *
         */
        @Test
        public void testIsArray() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                return result.getArtifactResults().stream()
                        .filter(ArtifactResult::isResolved)
                        .map(ArtifactResult::getArtifact)
                        .collect(Collectors.toList());
            } catch (PluginResolutionException | InterpolatorException e) {
                throw new ExtensionResolutionException(extension, e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                insertAll(targetList.stream()
                        .filter(urlQueue -> StringUtil.isNotBlank(urlQueue.getSessionId()) && StringUtil.isNotBlank(urlQueue.getUrl()))
                        .collect(Collectors.toList()), OpType.CREATE, true);
                if (logger.isDebugEnabled()) {
                    logger.debug("Offered URL: Session ID: {}, UrlQueue: {}", sessionId, targetList);
                }
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

       * and returns it.
       */
      fun <T : CallEvent> removeUpToEvent(eventClass: Class<T>): T {
        val fullEventSequence = eventSequence.toList()
        try {
          while (true) {
            val event = takeEvent()
            if (eventClass.isInstance(event)) {
              return eventClass.cast(event)
            }
          }
        } catch (e: NoSuchElementException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                                t = SENTINEL;
                            }
                            return new Relocation(global, s, t);
                        })
                        .collect(Collectors.toList());
                LOGGER.info("Parsed {} user relocations", relocationList.size());
                return new Relocations(relocationList);
            }
        }
    
        private static Artifact parseArtifact(String coords) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            this.setThreadSafe(true);
            this.setImplementation(md.getImplementation());
            try {
                this.setParameters(md.getParameters().stream().map(Parameter::new).collect(Collectors.toList()));
            } catch (DuplicateParameterException e) {
                throw new IllegalArgumentException(e);
            }
            this.mojoDescriptorV4 = md;
            this.v4Api = true;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        }
                    }
                    //noinspection unchecked
                    return (Q) list(list.stream().sorted(getBindingComparator()).toList(), this::getInstance);
                };
            }
    
            private <Q> Supplier<Q> getMapSupplier(Key<Q> key) {
                Key<?> keyType = key.getTypeParameter(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                }
    
                List<Map.Entry<String, PromptResultItemIF>> editables = result.entrySet().stream()
                        .filter(e -> e.getValue().getResult().contains("$"))
                        .toList();
                if (!editables.isEmpty()) {
                    context.addInHeader("");
                    context.addInHeader("Please customize the editable value:");
                    Map<String, PromptResultItemIF> editMap;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            final List<ElevateWord> list = elevateWordService.getElevateWordList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/elevateword/{id}
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        uq.setUrl(d.getUrl());
                        uq.setMetaData(d.getMetaData());
                        return uq;
                    }).collect(Collectors.toList());
            urlQueueService.offerAll(crawlerContext.sessionId, childList);
        }
    
        protected void storeChildUrl(final String childUrl, final String parentUrl, final String metaData, final int depth) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top