- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 231 for toList (0.15 sec)
-
android/guava/src/com/google/common/collect/FluentIterable.java
* .limit(10) * .toList(); * }</pre> * * The approximate stream equivalent is: * * <pre>{@code * List<String> results = * database.getClientList() * .stream() * .filter(Client::isActiveInLastMonth) * .map(Object::toString) * .limit(10) * .collect(Collectors.toList()); * }</pre> * * @author Marcin Mikosik
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
fun <T : Any> mapParsedKotlinFiles(vararg sourceRoots: File, block: (KtFile) -> T): List<T> = withParsedKotlinSource(sourceRoots.toList()) { ktFiles -> ktFiles.map(block) } fun parseSourceRoots(sourceRoots: List<File>, compilationClasspath: List<File>): ParsedKotlinFiles = Disposer.newDisposable().let { disposable ->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java
this.sessionId = sessionId; if (!cachedIncludeSet.isEmpty()) { try { getUrlFilterService().addIncludeUrlFilter(sessionId, cachedIncludeSet.stream().collect(Collectors.toList())); } catch (final Exception e) { logger.warn("Failed to add include_urls on " + sessionId, e); } cachedIncludeSet.clear(); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven")) .filter(p -> p.getFileName().toString().endsWith(".pom")) .collect(Collectors.toList()); } } @Benchmark public int readWithStax(AdditionState state) throws IOException, XMLStreamException { int i = 0; for (Path pom : state.poms) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
result.addAll(Arrays.stream(pluginHelper.getAvailableArtifacts(artifactType)).map(AdminPluginAction::beanToMap) .collect(Collectors.toList())); } return result; } public static List<Map<String, String>> getAllInstalledArtifacts() { final PluginHelper pluginHelper = ComponentUtil.getPluginHelper();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java
*/ @Deprecated public void overwriteActiveProjects(List<String> activeProjectSelectors) { List<ProjectActivationSettings> projects = getProjects(pa -> pa.active).collect(Collectors.toList()); this.activations.removeAll(projects); activeProjectSelectors.forEach(this::activateOptionalProject); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.informationalResponses = builder.informationalResponses.toList() this.throttleBytesPerPeriod = builder.throttleBytesPerPeriod this.throttlePeriodNanos = builder.throttlePeriodNanos this.socketPolicy = builder.socketPolicy this.bodyDelayNanos = builder.bodyDelayNanos this.headersDelayNanos = builder.headersDelayNanos this.pushPromises = builder.pushPromises.toList() this.settings = Settings().apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
import org.apache.maven.api.services.model.ModelVersionParser; import org.eclipse.aether.util.version.GenericVersionScheme; import org.junit.jupiter.api.Test; import static java.util.stream.Collectors.toList; import static org.junit.jupiter.api.Assertions.fail; /** */ public class VersionTest extends AbstractVersionTest {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
.addSubjectAlternativeName("1.1.1.1") .addSubjectAlternativeName("cash.app") .build() val certificate = heldCertificate.certificate assertThat(certificate.subjectAlternativeNames.toList()).containsExactly( listOf(GeneralName.iPAddress, "1.1.1.1"), listOf(GeneralName.dNSName, "cash.app"), ) } @Test fun commonName() { val heldCertificate =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0)