Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ofDouble (0.06 sec)

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

        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator.OfDouble> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (DoubleStream stream : streams) {
          isParallel |= stream.isParallel();
          Spliterator.OfDouble splitr = stream.spliterator();
          splitrsBuilder.add(splitr);
          characteristics &= splitr.characteristics();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator.OfDouble> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (DoubleStream stream : streams) {
          isParallel |= stream.isParallel();
          Spliterator.OfDouble splitr = stream.spliterator();
          splitrsBuilder.add(splitr);
          characteristics &= splitr.characteristics();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      /**
       * @since NEXT (but since 28.1 in the JRE flavor)
       */
      public static SpliteratorTester<Double> ofDouble(
          Supplier<Spliterator.OfDouble> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. 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<Double> ofDouble(
          Supplier<Spliterator.OfDouble> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
                () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1L, 1L, 2L, 3L);
      }
    
      public void testFlatMapToDouble_nullStream() {
        SpliteratorTester.ofDouble(
                () ->
                    CollectSpliterators.flatMapToDouble(
                        Arrays.spliterator(new Double[] {1.0, 0.0, 1.0, 2.0, 3.0}),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top