Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ofInt (0.01 sec)

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

        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator.OfInt> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (IntStream stream : streams) {
          isParallel |= stream.isParallel();
          Spliterator.OfInt splitr = stream.spliterator();
          splitrsBuilder.add(splitr);
          characteristics &= splitr.characteristics();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator.OfInt> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (IntStream stream : streams) {
          isParallel |= stream.isParallel();
          Spliterator.OfInt splitr = stream.spliterator();
          splitrsBuilder.add(splitr);
          characteristics &= splitr.characteristics();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMapToInt_nullStream() {
        SpliteratorTester.ofInt(
                () ->
                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        @Override
        public Spliterator.OfInt spliterator() {
          return parent.spliterator();
        }
    
        @Override
        public PrimitiveIterator.OfInt iterator() {
          return Spliterators.iterator(spliterator());
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      /**
       * @since 33.4.0 (but since 28.1 in the JRE flavor)
       */
      public static SpliteratorTester<Integer> ofInt(Supplier<Spliterator.OfInt> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      /**
       * @since 28.1 (but only since 33.4.0 in the Android flavor)
       */
      public static SpliteratorTester<Integer> ofInt(Supplier<Spliterator.OfInt> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        /*
         * This is an override that is not directly visible to callers, so NewApi will catch calls to
         * Collection.spliterator() where necessary.
         */
        @IgnoreJRERequirement
        public Spliterator.OfInt spliterator() {
          return Spliterators.spliterator(array, start, end, 0);
        }
    
        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
Back to top