Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 2,221 for collects (0.07 seconds)

  1. guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    final class CollectCollectors {
    
      private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST =
          Collector.of(
              ImmutableList::builder,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TableCollectors.java

    import java.util.function.Supplier;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect.Table} internals. */
    @GwtCompatible
    @IgnoreJRERequirement // used only from APIs with Java 8 types in them
    final class TableCollectors {
    
      static <T extends @Nullable Object, R, C, V>
          Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            List<UnreleasedVersionInfo> collect = filterSupportedVersions(
                getUnreleased().stream().filter(version -> version.equals(currentVersion) == false).collect(Collectors.toList())
            ).stream()
                .map(version -> new UnreleasedVersionInfo(version, getBranchFor(version), getGradleProjectPathFor(version)))
                .collect(Collectors.toList());
    
            collect.forEach(consumer::accept);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.Iterables.getOnlyElement;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            return projectIds.stream()
                    .map(projects::get)
                    .sorted(Comparator.comparingInt(order::get))
                    .collect(Collectors.toList());
        }
    
        @Override
        public String toString() {
            return sorter.getSortedProjects().toString();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        }
    
        private static Map<AccessorKey, UpgradedProperty> currentAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) {
            return upgradedProperties.stream().collect(Collectors.toMap(AccessorKey::ofUpgradedProperty, Function.identity()));
        }
    
        private static Map<AccessorKey, ReplacedAccessor> oldRemovedAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  7. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 02 00:55:27 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

                    items.stream().filter(pb -> taskSegment == pb.getTaskSegment()).collect(Collectors.toList()));
        }
    
        public Map<MavenProject, ProjectSegment> selectSegment(TaskSegment taskSegment) {
            return items.stream()
                    .filter(pb -> taskSegment == pb.getTaskSegment())
                    .collect(Collectors.toMap(ProjectSegment::getProject, Function.identity()));
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.Maps.immutableEnumMap;
    import static com.google.common.collect.Maps.toImmutableEnumMap;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    /**
     * Describes the environmental context used to determine the activation status of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top