- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for ToMap (0.02 seconds)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild.root-target-runtimes.gradle.kts
} else -> null } else -> throw IllegalArgumentException("Unexpected component identifier: $id") } }.toMap() } } // Computes a map of all projects in the build to their build file. val buildFiles: Provider<Map<String, File>> = provider { allprojects.associate { project ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 2.2K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
this[Http2::class.java.name] = "okhttp.Http2" this[TaskRunner::class.java.name] = "okhttp.TaskRunner" this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer" }.toMap() internal fun androidLog( loggerName: String, logLevel: Int, message: String, t: Throwable? = null, ) { val tag = loggerTag(loggerName) if (Log.isLoggable(tag, logLevel)) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
@Nonnull public static Path getCanonicalPath(Path path) { requireNonNull(path, "path"); return path.toAbsolutePath().normalize(); } @Nonnull public static Map<String, String> toMap(Properties properties) { requireNonNull(properties, "properties"); HashMap<String, String> map = new HashMap<>(); for (String key : properties.stringPropertyNames()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt
/** Lookup map built lazily from all [aliases] across all entries. */ val byPomName: Map<String, License> by lazy { entries.flatMap { lic -> lic.aliases.map { alias -> alias to lic } }.toMap() } /** Returns the [License] whose [aliases] include [name], or null if unrecognised. */ fun fromPomName(name: String): License? = byPomName[name] }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 13:24:46 GMT 2026 - 3.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
.map { Os.valueOf(it.uppercase(Locale.US)) }.toSet() }.toMap() PerformanceTestGroup(testProject, coverage) } PerformanceTestConfiguration(testId, groups) } } } private fun splitBucketsByScenarios(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToMap() { assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) .containsExactly(immutableEntry(1, "1"), immutableEntry(2, "2"), immutableEntry(3, "3")) .inOrder(); } public void testToMap_nullKey() { assertThrows( NullPointerException.class, () -> fluent(1, null, 2).toMap(Functions.constant("foo"))); } public void testToMap_nullValue() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
propertyNames.mapNotNull { propertyName -> stringPropertyOrNull(propertyName)?.let { propertyValue -> propertyName to propertyValue } }.toMap() /** * Creates a [Provider] that returns `true` when this [Provider] has a value * and `false` otherwise. The returned [Provider] always has a value. * @see Provider.isPresent */ privateCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 05:13:29 GMT 2026 - 18K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
* * <p>If multiple input elements map to the same row and column, the specified merging function is * used to combine the values. Like {@link * java.util.stream.Collectors#toMap(java.util.function.Function, java.util.function.Function, * BinaryOperator, java.util.function.Supplier)}, this Collector throws a {@code * NullPointerException} on null values returned from {@code valueFunction}, and treats nullsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* the collection operation is performed. (This differs from the {@code Collector} returned by * {@link java.util.stream.Collectors#toMap(java.util.function.Function, * java.util.function.Function) Collectors.toMap(Function, Function)}, which throws an {@code * IllegalStateException}.) * * @since 33.2.0 (available since 21.0 in guava-jre) */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* @since 14.0 */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now. public final <V> ImmutableMap<@NonNull E, V> toMap(Function<? super E, V> valueFunction) { return Maps.toMap((Iterable<@NonNull E>) getDelegate(), valueFunction); } /** * Creates an index {@code ImmutableListMultimap} that contains the results of applying aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0)