Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 404 for iterfile (0.09 seconds)

  1. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
       * Builder#addAll(Iterable)}, with all the performance implications associated with that.
       */
      public static ImmutableIntArray copyOf(Iterable<Integer> values) {
        if (values instanceof Collection) {
          return copyOf((Collection<Integer>) values);
        }
        return builder().addAll(values).build();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

        @get:Nested
        abstract val gradleDistribution: GradleDistribution
    
        @get:Internal
        abstract val distZipVersion: Property<String>
    
        override fun asArguments(): Iterable<String> {
            val distributionDir = gradleDistribution.homeDir.get().asFile
            return mapOf(
                "integTest.gradleHomeDir" to distributionDir,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    @NullUnmarked
    public final class SetsFilterNavigableSetTest extends AbstractFilteredNavigableSetTest {
      @Override
      NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Sets.newTreeSet(contents);
      }
    
      @Override
      NavigableSet<Integer> filter(
          NavigableSet<Integer> elements, Predicate<? super Integer> predicate) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    @NullUnmarked
    public final class SetsFilterHashSetTest extends AbstractFilteredSetTest<Set<Integer>> {
      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                projectIds.add(key);
            }
            return projectIds;
        }
    
        private Set<String> getIgnorableArtifacts(Iterable<Artifact> artifactIterable) {
            Set<String> projectIds = new HashSet<>();
    
            for (Artifact artifact : artifactIterable) {
                String key = ArtifactUtils.key(artifact);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.4K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.factory;
    
    import static org.codelibs.core.collection.ArrayIterator.iterable;
    import static org.codelibs.core.collection.IndexedIterator.indexed;
    import static org.codelibs.core.lang.GenericsUtil.getActualClass;
    import static org.codelibs.core.lang.GenericsUtil.getGenericParameters;
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray())
    
            /**
             * Matcher checking each item is present exactly once in a given iterable, but an any position,
             * and that there are no unexpected items.
             */
            private
            fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableTable.java

        return forCellsInternal(cells, rowComparator, columnComparator);
      }
    
      static <R, C, V> RegularImmutableTable<R, C, V> forCells(Iterable<Cell<R, C, V>> cells) {
        return forCellsInternal(cells, null, null);
      }
    
      private static <R, C, V> RegularImmutableTable<R, C, V> forCellsInternal(
          Iterable<Cell<R, C, V>> cells,
          @Nullable Comparator<? super R> rowComparator,
          @Nullable Comparator<? super C> columnComparator) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Streams.java

     * methods, like stream(Iterable), we have to rely on users not to call them without library
     * desugaring.
     */
    @IgnoreJRERequirement
    public final class Streams {
      /**
       * Returns a sequential {@link Stream} of the contents of {@code iterable}, delegating to {@link
       * Collection#stream} if possible.
       */
      public static <T extends @Nullable Object> Stream<T> stream(Iterable<T> iterable) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

         * values} if it is a Set and therefore probably already deduplicated.
         */
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          if (values instanceof Collection<?>) {
            Collection<?> collection = (Collection<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 28.1K bytes
    - Click Count (0)
Back to Top