- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,440 for collector (0.1 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) -
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) -
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) -
android/guava/src/com/google/common/collect/MoreCollectors.java
* collector without breaking j2cl? */ private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL = Collector.of( ToOptionalState::new, 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 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-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
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(); assertEquals(2, problems.size(), "Should collect both problems");
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) -
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) -
src/arena/arena.go
//go:build goexperiment.arenas /* The arena package provides the ability to allocate memory for a collection of Go values and free that space manually all at once, safely. The purpose of this functionality is to improve efficiency: manually freeing memory before a garbage collection delays that cycle. Less frequent cycles means the CPU cost of the garbage collector is incurred less frequently.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java
/** * Artifact collector - takes a set of original artifacts and resolves the best versions to use * along with their metadata. No artifacts are downloaded. */ @Deprecated public interface ArtifactCollector extends org.apache.maven.repository.legacy.resolver.LegacyArtifactCollector { @Deprecated ArtifactResolutionResult collect( Set<Artifact> artifacts,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 1.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.project.collector; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.util.Collections; import java.util.List;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0)