Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 2,147 for collector (0.16 seconds)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. 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)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            @SuppressWarnings("unchecked") // safe because it came from `collection`
            E element = (E) elements[0];
            return of(element);
          default:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/LegacyArtifactCollector.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
    @SuppressWarnings("checkstyle:parameternumber")
    public interface LegacyArtifactCollector {
    
        ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
                Artifact originatingArtifact,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectsSelector.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.io.File;
    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.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link NavigableMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 52.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/math/Stats.java

       */
      public static Collector<Number, StatsAccumulator, Stats> toStats() {
        return Collector.of(
            StatsAccumulator::new,
            (a, x) -> a.add(x.doubleValue()),
            (l, r) -> {
              l.addAll(r);
              return l;
            },
            StatsAccumulator::snapshot,
            Collector.Characteristics.UNORDERED);
      }
    
      /** Returns the number of values. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * A simple model problem collector for testing the model building components.
     *
     */
    @Deprecated
    public class SimpleProblemCollector implements ModelProblemCollector {
        private Model model;
    
        private List<String> warnings = new ArrayList<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top