- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for toSet (0.08 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt
* preferred. */ class RouteDatabase { private val _failedRoutes = mutableSetOf<Route>() val failedRoutes: Set<Route> @Synchronized get() = _failedRoutes.toSet() /** Records a failure connecting to [failedRoute]. */ @Synchronized fun failed(failedRoute: Route) { _failedRoutes.add(failedRoute) } /** Records success connecting to [route]. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
import org.eclipse.sisu.Nullable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.helpers.MessageFormatter; import static java.util.stream.Collectors.toSet; /** */ @Named @Singleton public class DefaultMaven implements Maven { private final Logger logger = LoggerFactory.getLogger(getClass()); private final Lookup lookup;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
} private static String getExecutionId(Plugin plugin, String goal) { Set<String> existingIds = plugin != null ? plugin.getExecutions().stream().map(PluginExecution::getId).collect(Collectors.toSet()) : Set.of(); String base = "default-" + goal; String id = base; for (int index = 1; existingIds.contains(id); index++) { id = base + '-' + index; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
"math", "net", "primitives", "reflect", "util.concurrent", "xml") .transform("com.google.common."::concat) .toSet(); public void testClassesHaveOverrides() throws Exception { for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) { if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
Collection<DependencyScope> nonTransitiveDependencyScopes = allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet()); DependencyScope system = internalScopeManager.getDependencyScope(DS_SYSTEM).orElse(null); ArrayList<ResolutionScope> result = new ArrayList<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
.build() val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers val names = acceptedIssuers .map { it.subjectDN.name } .toSet() // It's safe to assume all platforms will have a major Internet certificate issuer. assertThat(names).matchesPredicate { strings -> strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
if (childUrlSet != null) { // add an url try { storeChildUrls(childUrlSet.stream().filter(rd -> StringUtil.isNotBlank(rd.getUrl())).collect(Collectors.toSet()), urlQueue.getUrl(), urlQueue.getDepth() != null ? urlQueue.getDepth() + 1 : 1); } catch (final Throwable t) { if (!ComponentUtil.available()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
// in this case we have no historical test running time, so we simply add these subprojects into first available bucket val allSubprojectsInBucketJson = buckets.flatMap { it.subprojects.map { it.name } }.toSet() val allSubprojectsInModel = model.subprojects.getSubprojectsForFunctionalTest(testCoverage) .filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.name) } .map { it.name }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 12 09:50:29 UTC 2024 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
/** * Returns all classes loadable from the current class path. * * @since 16.0 */ public ImmutableSet<ClassInfo> getAllClasses() { return FluentIterable.from(resources).filter(ClassInfo.class).toSet(); } /** * Returns all top level classes loadable from the current class path. Note that "top-level-ness" * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}). */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToSet() { assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder(); } public void testToSet_removeDuplicates() { assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder(); } public void testToSet_empty() { assertTrue(fluent().toSet().isEmpty()); } public void testToSortedSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0)