Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 292 for Collector (0.05 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            final DefaultModelProblemCollector collector =
                    new DefaultModelProblemCollector(new DefaultModelBuildingResult());
            try {
                return newResult(readModel(null, pomFile, request, collector), collector.getProblems());
            } catch (ModelBuildingException e) {
                return error(collector.getProblems());
            }
        }
    
        private Model readModel(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.collector.MultiModuleCollectionStrategy;
    import org.apache.maven.project.collector.PomlessCollectionStrategy;
    import org.apache.maven.project.collector.RequestPomCollectionStrategy;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static java.util.Comparator.comparing;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <E> Collector<E, ?, ImmutableSortedMultiset<E>> toImmutableSortedMultiset(
          Comparator<? super E> comparator) {
        return toImmutableSortedMultiset(comparator, Function.identity(), e -> 1);
      }
    
      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableSortedMultiset}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

    import java.lang.ref.ReferenceQueue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Phantom reference with a {@code finalizeReferent()} method which a background thread invokes
     * after the garbage collector reclaims the referent. This is a simpler alternative to using a
     * {@link ReferenceQueue}.
     *
     * <p>Unlike a normal phantom reference, this reference will be cleared automatically.
     *
     * @author Bob Lee
     * @since 2.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.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.ArrayList;
    import java.util.List;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Sep 30 08:09:09 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeMap}. As in {@link Builder}, overlapping ranges are not permitted.
       *
       * @since 23.1
       */
      public static <T extends @Nullable Object, K extends Comparable<? super K>, V>
          Collector<T, ?, ImmutableRangeMap<K, V>> toImmutableRangeMap(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    @Named
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectCollectionStrategy.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 java.util.List;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingException;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/FinalizableWeakReference.java

    import java.lang.ref.WeakReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

     * @since 4.0.0
     */
    @Experimental
    public interface ModelTransformer {
    
        /**
         * Apply a transformation on the file model.
         *
         * @param model the input model
         * @param problems the problem collector to report any issues encountered during transformation
         * @return the transformed model, or the input model if no transformation is needed
         */
        @Nonnull
        Model transform(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 28 09:03:24 GMT 2024
    - 1.5K bytes
    - Click Count (0)
Back to Top