- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,157 for collectors (0.07 seconds)
-
cmd/metrics-v3.go
} } // Prepare to register the collectors. Other than `MetricGroup` collectors, // we also have standard collectors like `GoCollector`. // Create all Non-`MetricGroup` collectors here. collectors := map[collectorPath]prometheus.Collector{ debugGoCollectorPath: collectors.NewGoCollector(), } // Add all `MetricGroup` collectors to the map. for _, mg := range allMetricGroups {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 02 00:55:27 GMT 2024 - 13.6K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
} private class CompositeVersionsToIncubatingCollector( private val collectors: List<VersionsToIncubatingCollector> ) : VersionsToIncubatingCollector { override fun collectFrom(sourceFile: File): VersionsToIncubating = collectors .flatMap { it.collectFrom(sourceFile).entries } .associate { it.key to it.value } } private
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/MoreCollectors.java
/** * Collectors not present in {@code java.util.stream.Collectors} that are not otherwise associated * with a {@code com.google.common} type. * * @author Louis Wasserman * @since 21.0 */ @GwtCompatible public final class MoreCollectors { /* * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based * collector without breaking j2cl? */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/TableCollectors.java
import java.util.function.Function; import java.util.function.Supplier; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** Collectors utilities for {@code common.collect.Table} internals. */ @GwtCompatible final class TableCollectors { static <T extends @Nullable Object, R, C, V> Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable( Function<? super T, ? extends R> rowFunction,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
* collector without breaking j2cl? */ private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL = Collector.of( () -> new ToOptionalState<>(null), ToOptionalState::add, ToOptionalState::combine, ToOptionalState::getOptional, Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return (Collector) TO_IMMUTABLE_SET; } static <E> Collector<E, ?, ImmutableSortedSet<E>> toImmutableSortedSet( Comparator<? super E> comparator) { checkNotNull(comparator); return Collector.of( () -> new ImmutableSortedSet.Builder<E>(comparator), ImmutableSortedSet.Builder::add, ImmutableSortedSet.Builder::combine,
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 java.util.function.ToIntFunction; import java.util.stream.Collector; import java.util.stream.Stream; import org.jspecify.annotations.Nullable; /** Collectors utilities for {@code common.collect} internals. */ @GwtCompatible final class CollectCollectors { private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST = Collector.of( ImmutableList::builder,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) -
android/guava/src/com/google/common/collect/TableCollectors.java
import java.util.function.Supplier; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** Collectors utilities for {@code common.collect.Table} internals. */ @GwtCompatible @IgnoreJRERequirement // used only from APIs with Java 8 types in them final class TableCollectors { static <T extends @Nullable Object, R, C, V> Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* 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. public static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(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) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* the collection operation is performed. (This differs from the {@code Collector} returned by * {@link Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.) * * @since NEXT */ public static <T extends @Nullable Object, K extends Comparable<? super K>, V> Collector<T, ?, ImmutableSortedMap<K, V>> toImmutableSortedMap( Function<? super T, ? extends K> keyFunction,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 52.1K bytes - Click Count (0)