- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 216 for Collector (0.1 sec)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
collector.setSource("SOURCE_PROBLEM2"); collector.add(null, "PROBLEM2", -1, -1, null); collector.setSource("SOURCE_PROBLEM3"); collector.add(null, "PROBLEM3", -1, -1, null); assertEquals("", collector.getProblems().get(0).getSource()); assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource());Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (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(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 7.6K bytes - Viewed (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,Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector = toImmutableEnumMap(Entry::getKey, Entry::getValue); assertThrows( IllegalArgumentException.class, () -> Stream.of(mapEntry(AnEnum.A, 1), mapEntry(AnEnum.A, 11)).collect(collector)); } public void testToImmutableMapMerging() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
*/ @Nonnull Stream<P> problems(BuilderProblem.Severity severity); /** * Creates an "empty" problem collector that doesn't store any problems. * * @param <P> the type of problem * @return an empty problem collector */ @Nonnull static <P extends BuilderProblem> ProblemCollector<P> empty() { return new ProblemCollector<>() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
checkNonnegative(k, "k"); checkNotNull(comparator); return Collector.of( () -> TopKSelector.<T>least(k, comparator), TopKSelector::offer, TopKSelector::combine, TopKSelector::topK, Collector.Characteristics.UNORDERED); } /** * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
cmd/metrics-v3-types.go
// to collect the metrics. // // It implements the prometheus.Collector interface for metric groups without a // bucket dimension. For metric groups with a bucket dimension, use the // `GetBucketCollector` method to get a `BucketCollector` that implements the // prometheus.Collector interface. type MetricsGroup struct { // Path (relative to the Metrics v3 base endpoint) at which this group ofRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override public void close() throws IOException { stream.close(); collector.close(); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
assertNotSame(sortedSet, copy); } public void testToImmutableSet() { Collector<String, ?, ImmutableSet<String>> collector = toImmutableSet(); Equivalence<ImmutableSet<String>> equivalence = Equivalence.equals().onResultOf(ImmutableSet::asList); CollectorTester.of(collector, equivalence) .expectCollects(ImmutableSet.of("a", "b", "c", "d"), "a", "b", "a", "c", "b", "b", "d"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override public void close() throws IOException { this.stream.close(); this.collector.close(); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0)