- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 279 for Collector (0.07 seconds)
-
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
CollectorTester<T, A, R> of( Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { return new CollectorTester<>(collector, equivalence); } private final Collector<T, A, R> collector; private final BiPredicate<? super R, ? super R> equivalence; private CollectorTester( Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.8K bytes - Click Count (0) -
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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 02 00:55:27 GMT 2024 - 13.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
private final BiPredicate<? super R, ? super R> equivalence; private CollectorTester( Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { this.collector = checkNotNull(collector); this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
} @Test void testAddProblem() { ProblemCollector collector = ProblemCollectorFactory.newInstance(null); collector.setSource("pom.xml"); collector.add(Problem.Severity.ERROR, "Error message", 10, 5, null); collector.add(Problem.Severity.WARNING, "Warning message", 15, 3, null); List<Problem> problems = collector.getProblems();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jul 20 20:19:43 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
context.put("project.baseUri", "myBaseUri"); } protected void assertProblemFree(SimpleProblemCollector collector) { assertEquals(0, collector.getErrors().size(), "Expected no errors"); assertEquals(0, collector.getWarnings().size(), "Expected no warnings"); assertEquals(0, collector.getFatals().size(), "Expected no fatals"); } @SuppressWarnings("SameParameterValue")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
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());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
.append(": ") .append(problem.getMessage())); return msg.toString(); } /** * Returns the problem collector associated with this exception. * * @return the problem collector containing all problems related to this exception */ public ProblemCollector<BuilderProblem> getProblemCollector() { return problems; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.2K bytes - Click Count (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<>() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0)