@@ -16,104 +16,104 @@ trait PrimitiveStreamUnboxer[A, S] {
16
16
17
17
trait Priority5StreamConverters {
18
18
// 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 ] ])
20
20
extends MakesSequentialStream [A , Stream [A ]] {
21
21
def seqStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper, false )
22
22
}
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 ] ]) {
24
24
def seqKeyStream : Stream [K ] = StreamSupport .stream(steppize(cc).keyStepper, false )
25
25
}
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 ] ]) {
27
27
def seqValueStream : Stream [V ] = StreamSupport .stream(steppize(cc).valueStepper, false )
28
28
}
29
29
}
30
30
31
31
trait 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 ] )
33
33
extends MakesSequentialStream [java.lang.Double , DoubleStream ] {
34
34
def seqStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).stepper, false )
35
35
}
36
- implicit class EnrichScalaCollectionWithSeqIntStream [CC ](cc : CC )(implicit steppize : CC => MakesIntSeqStepper )
36
+ implicit class EnrichScalaCollectionWithSeqIntStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ IntStepper ])
37
37
extends MakesSequentialStream [java.lang.Integer , IntStream ] {
38
38
def seqStream : IntStream = StreamSupport .intStream(steppize(cc).stepper, false )
39
39
}
40
- implicit class EnrichScalaCollectionWithSeqLongStream [CC ](cc : CC )(implicit steppize : CC => MakesLongSeqStepper )
40
+ implicit class EnrichScalaCollectionWithSeqLongStream [CC ](cc : CC )(implicit steppize : CC => MakesStepper [ LongStepper ])
41
41
extends MakesSequentialStream [java.lang.Long , LongStream ] {
42
42
def seqStream : LongStream = StreamSupport .longStream(steppize(cc).stepper, false )
43
43
}
44
- implicit class EnrichScalaCollectionWithSeqDoubleKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleKeySeqStepper ) {
44
+ implicit class EnrichScalaCollectionWithSeqDoubleKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ DoubleStepper ] ) {
45
45
def seqKeyStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).keyStepper, false )
46
46
}
47
- implicit class EnrichScalaCollectionWithSeqIntKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesIntKeySeqStepper ) {
47
+ implicit class EnrichScalaCollectionWithSeqIntKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ IntStepper ] ) {
48
48
def seqKeyStream : IntStream = StreamSupport .intStream(steppize(cc).keyStepper, false )
49
49
}
50
- implicit class EnrichScalaCollectionWithSeqLongKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesLongKeySeqStepper ) {
50
+ implicit class EnrichScalaCollectionWithSeqLongKeyStream [CC ](cc : CC )(implicit steppize : CC => MakesKeyStepper [ LongStepper ] ) {
51
51
def seqKeyStream : LongStream = StreamSupport .longStream(steppize(cc).keyStepper, false )
52
52
}
53
- implicit class EnrichScalaCollectionWithSeqDoubleValueStream [CC ](cc : CC )(implicit steppize : CC => MakesDoubleValueSeqStepper ) {
53
+ implicit class EnrichScalaCollectionWithSeqDoubleValueStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ DoubleStepper ] ) {
54
54
def seqValueStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).valueStepper, false )
55
55
}
56
- implicit class EnrichScalaCollectionWithSeqIntValueStream [CC ](cc : CC )(implicit steppize : CC => MakesIntValueSeqStepper ) {
56
+ implicit class EnrichScalaCollectionWithSeqIntValueStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ IntStepper ] ) {
57
57
def seqValueStream : IntStream = StreamSupport .intStream(steppize(cc).valueStepper, false )
58
58
}
59
- implicit class EnrichScalaCollectionWithSeqLongValueStream [CC ](cc : CC )(implicit steppize : CC => MakesLongValueSeqStepper ) {
59
+ implicit class EnrichScalaCollectionWithSeqLongValueStream [CC ](cc : CC )(implicit steppize : CC => MakesValueStepper [ LongStepper ] ) {
60
60
def seqValueStream : LongStream = StreamSupport .longStream(steppize(cc).valueStepper, false )
61
61
}
62
62
}
63
63
64
64
trait 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 ])
66
66
extends MakesSequentialStream [A , Stream [A ]] with MakesParallelStream [A , Stream [A ]] {
67
67
def seqStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper, false )
68
68
def parStream : Stream [A ] = StreamSupport .stream(steppize(cc).stepper.anticipateParallelism, true )
69
69
}
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 ]) {
71
71
def seqKeyStream : Stream [K ] = StreamSupport .stream(steppize(cc).keyStepper, false )
72
72
def parKeyStream : Stream [K ] = StreamSupport .stream(steppize(cc).keyStepper.anticipateParallelism, true )
73
73
}
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 ]) {
75
75
def seqValueStream : Stream [V ] = StreamSupport .stream(steppize(cc).valueStepper, false )
76
76
def parValueStream : Stream [V ] = StreamSupport .stream(steppize(cc).valueStepper.anticipateParallelism, true )
77
77
}
78
78
}
79
79
80
80
trait 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 ])
82
82
extends MakesSequentialStream [java.lang.Double , DoubleStream ] with MakesParallelStream [java.lang.Double , DoubleStream ] {
83
83
def seqStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).stepper, false )
84
84
def parStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).stepper.anticipateParallelism, true )
85
85
}
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 ] ) {
87
87
def seqKeyStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).keyStepper, false )
88
88
def parKeyStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).keyStepper.anticipateParallelism, true )
89
89
}
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 ] ) {
91
91
def seqValueStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).valueStepper, false )
92
92
def parValueStream : DoubleStream = StreamSupport .doubleStream(steppize(cc).valueStepper.anticipateParallelism, true )
93
93
}
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 ])
95
95
extends MakesSequentialStream [java.lang.Integer , IntStream ] with MakesParallelStream [java.lang.Integer , IntStream ] {
96
96
def seqStream : IntStream = StreamSupport .intStream(steppize(cc).stepper, false )
97
97
def parStream : IntStream = StreamSupport .intStream(steppize(cc).stepper.anticipateParallelism, true )
98
98
}
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 ] ) {
100
100
def seqKeyStream : IntStream = StreamSupport .intStream(steppize(cc).keyStepper, false )
101
101
def parKeyStream : IntStream = StreamSupport .intStream(steppize(cc).keyStepper.anticipateParallelism, true )
102
102
}
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 ] ) {
104
104
def seqValueStream : IntStream = StreamSupport .intStream(steppize(cc).valueStepper, false )
105
105
def parValueStream : IntStream = StreamSupport .intStream(steppize(cc).valueStepper.anticipateParallelism, true )
106
106
}
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 ])
108
108
extends MakesSequentialStream [java.lang.Long , LongStream ] with MakesParallelStream [java.lang.Long , LongStream ] {
109
109
def seqStream : LongStream = StreamSupport .longStream(steppize(cc).stepper, false )
110
110
def parStream : LongStream = StreamSupport .longStream(steppize(cc).stepper.anticipateParallelism, true )
111
111
}
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 ] ) {
113
113
def seqKeyStream : LongStream = StreamSupport .longStream(steppize(cc).keyStepper, false )
114
114
def parKeyStream : LongStream = StreamSupport .longStream(steppize(cc).keyStepper.anticipateParallelism, true )
115
115
}
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 ] ) {
117
117
def seqValueStream : LongStream = StreamSupport .longStream(steppize(cc).valueStepper, false )
118
118
def parValueStream : LongStream = StreamSupport .longStream(steppize(cc).valueStepper.anticipateParallelism, true )
119
119
}
0 commit comments