Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 264 for Collector (0.42 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java

    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves all of the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        CollectorTester.of(collector, equivalence)
            .expectCollects(
                ImmutableMultiset.<TypeWithDuplicates>builder().add(a).addCopies(b1, 2).add(c).build(),
                a,
                b1,
                c,
                b2);
        collector = toImmutableMultiset(e -> e, e -> 1);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

       * <p>If multiple input elements map to the same row and column, the specified merging function is
       * used to combine the values. Like {@link
       * java.util.stream.Collectors#toMap(java.util.function.Function, java.util.function.Function,
       * BinaryOperator, java.util.function.Supplier)}, this Collector throws a {@code
       * NullPointerException} on null values returned from {@code valueFunction}, and treats nulls
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableBiMap.java

       * operation is performed. (This differs from the {@code Collector} returned by {@link
       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
              Function<? super T, ? extends K> keyFunction,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

    import java.lang.ref.ReferenceQueue;
    import javax.annotation.CheckForNull;
    
    /**
     * 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

    }
    
    
    private
    class CompositeVersionsToIncubatingCollector(
    
        private
        val collectors: List<VersionsToIncubatingCollector>
    
    ) : VersionsToIncubatingCollector {
    
        override fun collectFrom(sourceFile: File): VersionsToIncubating =
            collectors
                .flatMap { it.collectFrom(sourceFile).entries }
                .associate { it.key to it.value }
    }
    
    
    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .and(Equivalence.equals());
        CollectorTester.of(collector, equivalence)
            .expectCollects(
                ImmutableSortedSet.of("a", "b", "c", "d"), "a", "b", "a", "c", "b", "b", "d");
      }
    
      public void testToImmutableSortedSet_customComparator() {
        Collector<String, ?, ImmutableSortedSet<String>> collector =
            toImmutableSortedSet(String.CASE_INSENSITIVE_ORDER);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableListMultimap.java

       */
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. 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;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top