@@ -16,104 +16,104 @@ trait PrimitiveStreamUnboxer[A, S] {
1616
1717trait Priority5StreamConverters {
1818 // Note--conversion is only to make sure implicit conversion priority is lower than alternatives.
19- implicit class EnrichScalaCollectionWithSeqStream [A , CC ](cc : CC )(implicit steppize : CC => MakesAnySeqStepper [ A ])
19+ implicit class EnrichScalaCollectionWithSeqStream [A , CC ](cc : CC )(implicit steppize : CC => MakesStepper [ AnyStepper [ A ] ])
2020 extends MakesSequentialStream [A , Stream [A ]] {
2121 def seqStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper, false )
2222 }
23- implicit class EnrichScalaCollectionWithKeySeqStream [K , CC ](cc : CC )(implicit steppize : CC => MakesAnyKeySeqStepper [ K ]) {
23+ implicit class EnrichScalaCollectionWithKeySeqStream [K , CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ AnyStepper [ K ] ]) {
2424 def seqKeyStream : Stream [K ] = StreamSupport .stream(steppize(cc).keyStepper, false )
2525 }
26- implicit class EnrichScalaCollectionWithValueSeqStream [V , CC ](cc : CC )(implicit steppize : CC => MakesAnyValueSeqStepper [ V ]) {
26+ implicit class EnrichScalaCollectionWithValueSeqStream [V , CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ AnyStepper [ V ] ]) {
2727 def seqValueStream : Stream [V ] = StreamSupport .stream(steppize(cc).valueStepper, false )
2828 }
2929}
3030
3131trait Priority4StreamConverters extends Priority5StreamConverters {
32- implicit class EnrichScalaCollectionWithSeqDoubleStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleSeqStepper )
32+ implicit class EnrichScalaCollectionWithSeqDoubleStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ DoubleStepper ] )
3333 extends MakesSequentialStream [java.lang.Double , DoubleStream ] {
3434 def seqStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).stepper, false )
3535 }
36- implicit class EnrichScalaCollectionWithSeqIntStream [CC ](cc : CC )(implicit steppize : CC => MakesIntSeqStepper )
36+ implicit class EnrichScalaCollectionWithSeqIntStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ IntStepper ])
3737 extends MakesSequentialStream [java.lang.Integer , IntStream ] {
3838 def seqStream : IntStream = StreamSupport .intStream(steppize(cc).stepper, false )
3939 }
40- implicit class EnrichScalaCollectionWithSeqLongStream [CC ](cc : CC )(implicit steppize : CC => MakesLongSeqStepper )
40+ implicit class EnrichScalaCollectionWithSeqLongStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ LongStepper ])
4141 extends MakesSequentialStream [java.lang.Long , LongStream ] {
4242 def seqStream : LongStream = StreamSupport .longStream(steppize(cc).stepper, false )
4343 }
44- implicit class EnrichScalaCollectionWithSeqDoubleKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleKeySeqStepper ) {
44+ implicit class EnrichScalaCollectionWithSeqDoubleKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ DoubleStepper ] ) {
4545 def seqKeyStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).keyStepper, false )
4646 }
47- implicit class EnrichScalaCollectionWithSeqIntKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesIntKeySeqStepper ) {
47+ implicit class EnrichScalaCollectionWithSeqIntKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ IntStepper ] ) {
4848 def seqKeyStream : IntStream = StreamSupport .intStream(steppize(cc).keyStepper, false )
4949 }
50- implicit class EnrichScalaCollectionWithSeqLongKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesLongKeySeqStepper ) {
50+ implicit class EnrichScalaCollectionWithSeqLongKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ LongStepper ] ) {
5151 def seqKeyStream : LongStream = StreamSupport .longStream(steppize(cc).keyStepper, false )
5252 }
53- implicit class EnrichScalaCollectionWithSeqDoubleValueStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleValueSeqStepper ) {
53+ implicit class EnrichScalaCollectionWithSeqDoubleValueStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ DoubleStepper ] ) {
5454 def seqValueStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).valueStepper, false )
5555 }
56- implicit class EnrichScalaCollectionWithSeqIntValueStream [CC ](cc : CC )(implicit steppize : CC => MakesIntValueSeqStepper ) {
56+ implicit class EnrichScalaCollectionWithSeqIntValueStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ IntStepper ] ) {
5757 def seqValueStream : IntStream = StreamSupport .intStream(steppize(cc).valueStepper, false )
5858 }
59- implicit class EnrichScalaCollectionWithSeqLongValueStream [CC ](cc : CC )(implicit steppize : CC => MakesLongValueSeqStepper ) {
59+ implicit class EnrichScalaCollectionWithSeqLongValueStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ LongStepper ] ) {
6060 def seqValueStream : LongStream = StreamSupport .longStream(steppize(cc).valueStepper, false )
6161 }
6262}
6363
6464trait Priority3StreamConverters extends Priority4StreamConverters {
65- implicit class EnrichAnySteppableWithStream [A , CC ](cc : CC )(implicit steppize : CC => MakesAnyStepper [ A ])
65+ implicit class EnrichAnySteppableWithStream [A , CC ](cc : CC )(implicit steppize : CC => MakesStepper [ AnyStepper [ A ] with EfficientSubstep ])
6666 extends MakesSequentialStream [A , Stream [A ]] with MakesParallelStream [A , Stream [A ]] {
6767 def seqStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper, false )
6868 def parStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper.anticipateParallelism, true )
6969 }
70- implicit class EnrichAnyKeySteppableWithStream [K , CC ](cc : CC )(implicit steppize : CC => MakesAnyKeyStepper [ K ]) {
70+ implicit class EnrichAnyKeySteppableWithStream [K , CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ AnyStepper [ K ] with EfficientSubstep ]) {
7171 def seqKeyStream : Stream [K ] = StreamSupport .stream(steppize(cc).keyStepper, false )
7272 def parKeyStream : Stream [K ] = StreamSupport .stream(steppize(cc).keyStepper.anticipateParallelism, true )
7373 }
74- implicit class EnrichAnyValueSteppableWithStream [V , CC ](cc : CC )(implicit steppize : CC => MakesAnyValueStepper [ V ]) {
74+ implicit class EnrichAnyValueSteppableWithStream [V , CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ AnyStepper [ V ] with EfficientSubstep ]) {
7575 def seqValueStream : Stream [V ] = StreamSupport .stream(steppize(cc).valueStepper, false )
7676 def parValueStream : Stream [V ] = StreamSupport .stream(steppize(cc).valueStepper.anticipateParallelism, true )
7777 }
7878}
7979
8080trait Priority2StreamConverters extends Priority3StreamConverters {
81- implicit class EnrichDoubleSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleStepper )
81+ implicit class EnrichDoubleSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ DoubleStepper with EfficientSubstep ])
8282 extends MakesSequentialStream [java.lang.Double , DoubleStream ] with MakesParallelStream [java.lang.Double , DoubleStream ] {
8383 def seqStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).stepper, false )
8484 def parStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).stepper.anticipateParallelism, true )
8585 }
86- implicit class EnrichDoubleKeySteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleKeyStepper ) {
86+ implicit class EnrichDoubleKeySteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ DoubleStepper with EfficientSubstep ] ) {
8787 def seqKeyStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).keyStepper, false )
8888 def parKeyStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).keyStepper.anticipateParallelism, true )
8989 }
90- implicit class EnrichDoubleValueSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleValueStepper ) {
90+ implicit class EnrichDoubleValueSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ DoubleStepper with EfficientSubstep ] ) {
9191 def seqValueStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).valueStepper, false )
9292 def parValueStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).valueStepper.anticipateParallelism, true )
9393 }
94- implicit class EnrichIntSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesIntStepper )
94+ implicit class EnrichIntSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ IntStepper with EfficientSubstep ])
9595 extends MakesSequentialStream [java.lang.Integer , IntStream ] with MakesParallelStream [java.lang.Integer , IntStream ] {
9696 def seqStream : IntStream = StreamSupport .intStream(steppize(cc).stepper, false )
9797 def parStream : IntStream = StreamSupport .intStream(steppize(cc).stepper.anticipateParallelism, true )
9898 }
99- implicit class EnrichIntKeySteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesIntKeyStepper ) {
99+ implicit class EnrichIntKeySteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ IntStepper with EfficientSubstep ] ) {
100100 def seqKeyStream : IntStream = StreamSupport .intStream(steppize(cc).keyStepper, false )
101101 def parKeyStream : IntStream = StreamSupport .intStream(steppize(cc).keyStepper.anticipateParallelism, true )
102102 }
103- implicit class EnrichIntValueSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesIntValueStepper ) {
103+ implicit class EnrichIntValueSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ IntStepper with EfficientSubstep ] ) {
104104 def seqValueStream : IntStream = StreamSupport .intStream(steppize(cc).valueStepper, false )
105105 def parValueStream : IntStream = StreamSupport .intStream(steppize(cc).valueStepper.anticipateParallelism, true )
106106 }
107- implicit class EnrichLongSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesLongStepper )
107+ implicit class EnrichLongSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ LongStepper with EfficientSubstep ])
108108 extends MakesSequentialStream [java.lang.Long , LongStream ] with MakesParallelStream [java.lang.Long , LongStream ] {
109109 def seqStream : LongStream = StreamSupport .longStream(steppize(cc).stepper, false )
110110 def parStream : LongStream = StreamSupport .longStream(steppize(cc).stepper.anticipateParallelism, true )
111111 }
112- implicit class EnrichLongKeySteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesLongKeyStepper ) {
112+ implicit class EnrichLongKeySteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ LongStepper with EfficientSubstep ] ) {
113113 def seqKeyStream : LongStream = StreamSupport .longStream(steppize(cc).keyStepper, false )
114114 def parKeyStream : LongStream = StreamSupport .longStream(steppize(cc).keyStepper.anticipateParallelism, true )
115115 }
116- implicit class EnrichLongValueSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesLongValueStepper ) {
116+ implicit class EnrichLongValueSteppableWithStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ LongStepper with EfficientSubstep ] ) {
117117 def seqValueStream : LongStream = StreamSupport .longStream(steppize(cc).valueStepper, false )
118118 def parValueStream : LongStream = StreamSupport .longStream(steppize(cc).valueStepper.anticipateParallelism, true )
119119 }
0 commit comments