- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for ToMap (0.02 seconds)
-
android/guava/src/com/google/common/collect/CollectCollectors.java
import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Collections.singletonMap; import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.toMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Preconditions; import java.util.Collection; import java.util.Comparator;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Collections.singletonMap; import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.toMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Preconditions; import java.util.Collection; import java.util.Comparator;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
import static org.apache.maven.cling.invoker.CliUtils.prefix; import static org.apache.maven.cling.invoker.CliUtils.stripLeadingAndTrailingQuotes; import static org.apache.maven.cling.invoker.CliUtils.toMap; public abstract class BaseParser implements Parser { @SuppressWarnings("VisibilityModifier") public static class LocalContext { public final ParserRequest parserRequest;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
cmd/data-usage-cache.go
if intOld.start != intNew.start || intOld.end != intNew.end { nidx++ continue } h[nidx] += v[oidx] oidx++ nidx++ } } // toMap returns the map to a map[string]uint64. func (h *sizeHistogram) toMap() map[string]uint64 { res := make(map[string]uint64, dataUsageBucketLen) var splCount uint64 for i, count := range h { szInt := ObjectsHistogramIntervals[i] switch {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K 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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
import org.apache.maven.jline.MessageUtils; import static java.util.Objects.requireNonNull; import static org.apache.maven.cling.invoker.CliUtils.createInterpolator; import static org.apache.maven.cling.invoker.CliUtils.toMap; public class CommonsCliOptions implements Options { public static CommonsCliOptions parse(String source, String[] args) throws ParseException { CLIManager cliManager = new CLIManager();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* Object#equals(Object)}), an {@code IllegalArgumentException} is thrown when the collection * operation is performed. (This differs from the {@code Collector} returned by {@link * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.) * * @since 33.2.0 (available since 21.0 in guava-jre) */ @IgnoreJRERequirement // Users will use this only if they're already using streams.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 22.2K 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)