@@ -18,7 +18,7 @@ object Flowables {
18
18
@CheckReturnValue
19
19
@BackpressureSupport(BackpressureKind .FULL )
20
20
@SchedulerSupport(SchedulerSupport .NONE )
21
- inline fun <T1 , T2 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, crossinline combineFunction : (T1 , T2 ) -> R ) =
21
+ inline fun <T1 : Any , T2 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, crossinline combineFunction : (T1 , T2 ) -> R ) =
22
22
Flowable .combineLatest(source1, source2,
23
23
BiFunction <T1 , T2 , R > { t1, t2 -> combineFunction(t1,t2) })!!
24
24
@@ -28,15 +28,15 @@ object Flowables {
28
28
@CheckReturnValue
29
29
@BackpressureSupport(BackpressureKind .FULL )
30
30
@SchedulerSupport(SchedulerSupport .NONE )
31
- fun <T1 , T2 > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >) =
31
+ fun <T1 : Any , T2 : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >) =
32
32
Flowable .combineLatest(source1, source2,
33
33
BiFunction <T1 , T2 , Pair <T1 ,T2 >> { t1, t2 -> t1 to t2 })!!
34
34
35
35
36
36
@CheckReturnValue
37
37
@BackpressureSupport(BackpressureKind .FULL )
38
38
@SchedulerSupport(SchedulerSupport .NONE )
39
- inline fun <T1 , T2 , T3 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >, crossinline combineFunction : (T1 ,T2 , T3 ) -> R ) =
39
+ inline fun <T1 : Any , T2 : Any , T3 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >, crossinline combineFunction : (T1 ,T2 , T3 ) -> R ) =
40
40
Flowable .combineLatest(source1, source2,source3,
41
41
Function3 { t1: T1 , t2: T2 , t3: T3 -> combineFunction(t1,t2, t3) })!!
42
42
@@ -46,15 +46,15 @@ object Flowables {
46
46
@CheckReturnValue
47
47
@BackpressureSupport(BackpressureKind .FULL )
48
48
@SchedulerSupport(SchedulerSupport .NONE )
49
- fun <T1 , T2 , T3 > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >) =
49
+ fun <T1 : Any , T2 : Any , T3 : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >) =
50
50
Flowable .combineLatest(source1, source2, source3,
51
51
Function3 <T1 , T2 , T3 , Triple <T1 ,T2 ,T3 >> { t1, t2, t3 -> Triple (t1,t2,t3) })!!
52
52
53
53
54
54
@CheckReturnValue
55
55
@BackpressureSupport(BackpressureKind .FULL )
56
56
@SchedulerSupport(SchedulerSupport .NONE )
57
- inline fun <T1 , T2 , T3 , T4 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >,
57
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >,
58
58
source4 : Flowable <T4 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 ) -> R ) =
59
59
Flowable .combineLatest(source1, source2,source3, source4,
60
60
Function4 { t1: T1 , t2: T2 , t3: T3 , t4: T4 -> combineFunction(t1,t2, t3, t4) })!!
@@ -63,7 +63,7 @@ object Flowables {
63
63
@CheckReturnValue
64
64
@BackpressureSupport(BackpressureKind .FULL )
65
65
@SchedulerSupport(SchedulerSupport .NONE )
66
- inline fun <T1 , T2 , T3 , T4 , T5 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
66
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
67
67
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
68
68
source5 : Flowable <T5 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 , T5 ) -> R ) =
69
69
Flowable .combineLatest(source1, source2,source3, source4, source5,
@@ -73,7 +73,7 @@ object Flowables {
73
73
@CheckReturnValue
74
74
@BackpressureSupport(BackpressureKind .FULL )
75
75
@SchedulerSupport(SchedulerSupport .NONE )
76
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
76
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
77
77
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
78
78
source5 : Flowable <T5 >, source6 : Flowable <T6 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 , T5 , T6 ) -> R ) =
79
79
Flowable .combineLatest(source1, source2,source3, source4, source5, source6,
@@ -82,7 +82,7 @@ object Flowables {
82
82
@CheckReturnValue
83
83
@BackpressureSupport(BackpressureKind .FULL )
84
84
@SchedulerSupport(SchedulerSupport .NONE )
85
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , T7 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
85
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , T7 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
86
86
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
87
87
source5 : Flowable <T5 >, source6 : Flowable <T6 >,
88
88
source7 : Flowable <T7 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 , T5 , T6 , T7 ) -> R ) =
@@ -93,7 +93,7 @@ object Flowables {
93
93
@CheckReturnValue
94
94
@BackpressureSupport(BackpressureKind .FULL )
95
95
@SchedulerSupport(SchedulerSupport .NONE )
96
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
96
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , T7 : Any , T8 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
97
97
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
98
98
source5 : Flowable <T5 >, source6 : Flowable <T6 >,
99
99
source7 : Flowable <T7 >, source8 : Flowable <T8 >,
@@ -104,7 +104,7 @@ object Flowables {
104
104
@CheckReturnValue
105
105
@BackpressureSupport(BackpressureKind .FULL )
106
106
@SchedulerSupport(SchedulerSupport .NONE )
107
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , R > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
107
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , T7 : Any , T8 : Any , T9 : Any , R : Any > combineLatest (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
108
108
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
109
109
source5 : Flowable <T5 >, source6 : Flowable <T6 >,
110
110
source7 : Flowable <T7 >, source8 : Flowable <T8 >,
@@ -118,7 +118,7 @@ object Flowables {
118
118
@CheckReturnValue
119
119
@BackpressureSupport(BackpressureKind .SPECIAL )
120
120
@SchedulerSupport(SchedulerSupport .NONE )
121
- inline fun <T > create (mode : BackpressureStrategy , crossinline source : (FlowableEmitter <T >) -> Unit ) =
121
+ inline fun <T : Any > create (mode : BackpressureStrategy , crossinline source : (FlowableEmitter <T >) -> Unit ) =
122
122
Flowable .create<T >({ source(it) }, mode)!!
123
123
124
124
@@ -127,7 +127,7 @@ object Flowables {
127
127
@CheckReturnValue
128
128
@BackpressureSupport(BackpressureKind .FULL )
129
129
@SchedulerSupport(SchedulerSupport .NONE )
130
- inline fun <T1 , T2 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, crossinline combineFunction : (T1 , T2 ) -> R ) =
130
+ inline fun <T1 : Any , T2 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, crossinline combineFunction : (T1 , T2 ) -> R ) =
131
131
Flowable .zip(source1, source2,
132
132
BiFunction <T1 , T2 , R > { t1, t2 -> combineFunction(t1,t2) })!!
133
133
@@ -137,15 +137,15 @@ object Flowables {
137
137
@CheckReturnValue
138
138
@BackpressureSupport(BackpressureKind .FULL )
139
139
@SchedulerSupport(SchedulerSupport .NONE )
140
- fun <T1 , T2 > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >) =
140
+ fun <T1 : Any , T2 : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >) =
141
141
Flowable .zip(source1, source2,
142
142
BiFunction <T1 , T2 , Pair <T1 ,T2 >> { t1, t2 -> t1 to t2 })!!
143
143
144
144
145
145
@CheckReturnValue
146
146
@BackpressureSupport(BackpressureKind .FULL )
147
147
@SchedulerSupport(SchedulerSupport .NONE )
148
- inline fun <T1 , T2 , T3 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >, crossinline combineFunction : (T1 ,T2 , T3 ) -> R ) =
148
+ inline fun <T1 : Any , T2 : Any , T3 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >, crossinline combineFunction : (T1 ,T2 , T3 ) -> R ) =
149
149
Flowable .zip(source1, source2,source3,
150
150
Function3 { t1: T1 , t2: T2 , t3: T3 -> combineFunction(t1,t2, t3) })!!
151
151
@@ -155,21 +155,21 @@ object Flowables {
155
155
@CheckReturnValue
156
156
@BackpressureSupport(BackpressureKind .FULL )
157
157
@SchedulerSupport(SchedulerSupport .NONE )
158
- fun <T1 , T2 , T3 > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >) =
158
+ fun <T1 : Any , T2 : Any , T3 : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >) =
159
159
Flowable .zip(source1, source2, source3,
160
160
Function3 <T1 , T2 , T3 , Triple <T1 ,T2 ,T3 >> { t1, t2, t3 -> Triple (t1,t2,t3) })!!
161
161
162
162
@CheckReturnValue
163
163
@BackpressureSupport(BackpressureKind .FULL )
164
164
@SchedulerSupport(SchedulerSupport .NONE )
165
- inline fun <T1 , T2 , T3 , T4 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >, source4 : Flowable <T4 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 ) -> R ) =
165
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >, source3 : Flowable <T3 >, source4 : Flowable <T4 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 ) -> R ) =
166
166
Flowable .zip(source1, source2,source3, source4,
167
167
Function4 { t1: T1 , t2: T2 , t3: T3 , t4: T4 -> combineFunction(t1,t2, t3, t4) })!!
168
168
169
169
@CheckReturnValue
170
170
@BackpressureSupport(BackpressureKind .FULL )
171
171
@SchedulerSupport(SchedulerSupport .NONE )
172
- inline fun <T1 , T2 , T3 , T4 , T5 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
172
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
173
173
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
174
174
source5 : Flowable <T5 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 , T5 ) -> R ) =
175
175
Flowable .zip(source1, source2,source3, source4, source5,
@@ -180,7 +180,7 @@ object Flowables {
180
180
@CheckReturnValue
181
181
@BackpressureSupport(BackpressureKind .FULL )
182
182
@SchedulerSupport(SchedulerSupport .NONE )
183
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
183
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
184
184
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
185
185
source5 : Flowable <T5 >, source6 : Flowable <T6 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 , T5 , T6 ) -> R ) =
186
186
Flowable .zip(source1, source2,source3, source4, source5, source6,
@@ -189,7 +189,7 @@ object Flowables {
189
189
@CheckReturnValue
190
190
@BackpressureSupport(BackpressureKind .FULL )
191
191
@SchedulerSupport(SchedulerSupport .NONE )
192
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , T7 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
192
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , T7 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
193
193
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
194
194
source5 : Flowable <T5 >, source6 : Flowable <T6 >,
195
195
source7 : Flowable <T7 >, crossinline combineFunction : (T1 ,T2 , T3 , T4 , T5 , T6 , T7 ) -> R ) =
@@ -200,7 +200,7 @@ object Flowables {
200
200
@CheckReturnValue
201
201
@BackpressureSupport(BackpressureKind .FULL )
202
202
@SchedulerSupport(SchedulerSupport .NONE )
203
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
203
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , T7 : Any , T8 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
204
204
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
205
205
source5 : Flowable <T5 >, source6 : Flowable <T6 >,
206
206
source7 : Flowable <T7 >, source8 : Flowable <T8 >,
@@ -211,7 +211,7 @@ object Flowables {
211
211
@CheckReturnValue
212
212
@BackpressureSupport(BackpressureKind .FULL )
213
213
@SchedulerSupport(SchedulerSupport .NONE )
214
- inline fun <T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , R > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
214
+ inline fun <T1 : Any , T2 : Any , T3 : Any , T4 : Any , T5 : Any , T6 : Any , T7 : Any , T8 : Any , T9 : Any , R : Any > zip (source1 : Flowable <T1 >, source2 : Flowable <T2 >,
215
215
source3 : Flowable <T3 >, source4 : Flowable <T4 >,
216
216
source5 : Flowable <T5 >, source6 : Flowable <T6 >,
217
217
source7 : Flowable <T7 >, source8 : Flowable <T8 >,
@@ -227,13 +227,13 @@ object Flowables {
227
227
@CheckReturnValue
228
228
@BackpressureSupport(BackpressureKind .PASS_THROUGH )
229
229
@SchedulerSupport(SchedulerSupport .NONE )
230
- inline fun <T , U , R > Flowable<T>.withLatestFrom (other : Publisher <U >, crossinline combiner : (T , U ) -> R ): Flowable <R >
230
+ inline fun <T : Any , U : Any , R : Any > Flowable<T>.withLatestFrom (other : Publisher <U >, crossinline combiner : (T , U ) -> R ): Flowable <R >
231
231
= withLatestFrom(other, BiFunction <T , U , R > { t, u -> combiner.invoke(t, u) })
232
232
233
233
@CheckReturnValue
234
234
@BackpressureSupport(BackpressureKind .PASS_THROUGH )
235
235
@SchedulerSupport(SchedulerSupport .NONE )
236
- fun <T , U > Flowable<T>.withLatestFrom (other : Publisher <U >): Flowable <Pair <T , U >>
236
+ fun <T : Any , U : Any > Flowable<T>.withLatestFrom (other : Publisher <U >): Flowable <Pair <T , U >>
237
237
= withLatestFrom(other, BiFunction { t, u -> Pair (t,u) })
238
238
239
239
@@ -243,13 +243,13 @@ fun <T, U> Flowable<T>.withLatestFrom(other: Publisher<U>): Flowable<Pair<T, U>>
243
243
@CheckReturnValue
244
244
@BackpressureSupport(BackpressureKind .PASS_THROUGH )
245
245
@SchedulerSupport(SchedulerSupport .NONE )
246
- inline fun <T , T1 , T2 , R > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >, crossinline combiner : (T , T1 , T2 ) -> R ): Flowable <R >
246
+ inline fun <T : Any , T1 : Any , T2 : Any , R : Any > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >, crossinline combiner : (T , T1 , T2 ) -> R ): Flowable <R >
247
247
= withLatestFrom(o1, o2, Function3 { t, t1, t2 -> combiner.invoke(t, t1, t2) })
248
248
249
249
@CheckReturnValue
250
250
@BackpressureSupport(BackpressureKind .PASS_THROUGH )
251
251
@SchedulerSupport(SchedulerSupport .NONE )
252
- fun <T , T1 , T2 > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >): Flowable <Triple <T ,T1 ,T2 >>
252
+ fun <T : Any , T1 : Any , T2 : Any > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >): Flowable <Triple <T ,T1 ,T2 >>
253
253
= withLatestFrom(o1, o2, Function3 { t, t1, t2 -> Triple (t, t1, t2) })
254
254
255
255
/* *
@@ -258,7 +258,7 @@ fun <T, T1, T2> Flowable<T>.withLatestFrom(o1: Publisher<T1>, o2: Publisher<T2>)
258
258
@CheckReturnValue
259
259
@BackpressureSupport(BackpressureKind .PASS_THROUGH )
260
260
@SchedulerSupport(SchedulerSupport .NONE )
261
- inline fun <T , T1 , T2 , T3 , R > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >, o3 : Publisher <T3 >, crossinline combiner : (T , T1 , T2 , T3 ) -> R ): Flowable <R >
261
+ inline fun <T : Any , T1 : Any , T2 : Any , T3 : Any , R : Any > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >, o3 : Publisher <T3 >, crossinline combiner : (T , T1 , T2 , T3 ) -> R ): Flowable <R >
262
262
= withLatestFrom(o1, o2, o3, Function4 { t, t1, t2, t3 -> combiner.invoke(t, t1, t2, t3) })
263
263
264
264
/* *
@@ -267,7 +267,7 @@ inline fun <T, T1, T2, T3, R> Flowable<T>.withLatestFrom(o1: Publisher<T1>, o2:
267
267
@CheckReturnValue
268
268
@BackpressureSupport(BackpressureKind .FULL )
269
269
@SchedulerSupport(SchedulerSupport .NONE )
270
- inline fun <T , T1 , T2 , T3 , T4 , R > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >, o3 : Publisher <T3 >, o4 : Publisher <T4 >, crossinline combiner : (T , T1 , T2 , T3 , T4 ) -> R ): Flowable <R >
270
+ inline fun <T : Any , T1 : Any , T2 : Any , T3 : Any , T4 : Any , R : Any > Flowable<T>.withLatestFrom (o1 : Publisher <T1 >, o2 : Publisher <T2 >, o3 : Publisher <T3 >, o4 : Publisher <T4 >, crossinline combiner : (T , T1 , T2 , T3 , T4 ) -> R ): Flowable <R >
271
271
= withLatestFrom(o1, o2, o3, o4, Function5 { t, t1, t2, t3, t4 -> combiner.invoke(t, t1, t2, t3, t4) })
272
272
273
273
/* *
@@ -276,7 +276,7 @@ inline fun <T, T1, T2, T3, T4, R> Flowable<T>.withLatestFrom(o1: Publisher<T1>,
276
276
@CheckReturnValue
277
277
@BackpressureSupport(BackpressureKind .PASS_THROUGH )
278
278
@SchedulerSupport(SchedulerSupport .NONE )
279
- inline fun <T , U , R > Flowable<T>.zipWith (other : Publisher <U >, crossinline zipper : (T , U ) -> R ): Flowable <R >
279
+ inline fun <T : Any , U : Any , R : Any > Flowable<T>.zipWith (other : Publisher <U >, crossinline zipper : (T , U ) -> R ): Flowable <R >
280
280
= zipWith(other, BiFunction { t, u -> zipper.invoke(t, u) })
281
281
282
282
/* *
@@ -285,5 +285,5 @@ inline fun <T, U, R> Flowable<T>.zipWith(other: Publisher<U>, crossinline zipper
285
285
@CheckReturnValue
286
286
@BackpressureSupport(BackpressureKind .FULL )
287
287
@SchedulerSupport(SchedulerSupport .NONE )
288
- fun <T , U > Flowable<T>.zipWith (other : Publisher <U >): Flowable <Pair <T , U >>
288
+ fun <T : Any , U : Any > Flowable<T>.zipWith (other : Publisher <U >): Flowable <Pair <T , U >>
289
289
= zipWith(other, BiFunction { t, u -> Pair (t,u) })
0 commit comments