@@ -255,7 +255,7 @@ public static int bufferSize() {
255
255
* are requested in a bounded manner, however, their backpressure is not enforced (the operator won't signal
256
256
* {@code MissingBackpressureException}) and may lead to {@code OutOfMemoryError} due to internal buffer bloat.</dd>
257
257
* <dt><b>Scheduler:</b></dt>
258
- * <dd>{@code combineLatest } does not operate by default on a particular {@link Scheduler}.</dd>
258
+ * <dd>{@code combineLatestArray } does not operate by default on a particular {@link Scheduler}.</dd>
259
259
* </dl>
260
260
*
261
261
* @param <T>
@@ -273,8 +273,8 @@ public static int bufferSize() {
273
273
@SchedulerSupport(SchedulerSupport.NONE)
274
274
@CheckReturnValue
275
275
@BackpressureSupport(BackpressureKind.FULL)
276
- public static <T, R> Flowable<R> combineLatest (Publisher<? extends T>[] sources, Function<? super Object[], ? extends R> combiner) {
277
- return combineLatest (sources, combiner, bufferSize());
276
+ public static <T, R> Flowable<R> combineLatestArray (Publisher<? extends T>[] sources, Function<? super Object[], ? extends R> combiner) {
277
+ return combineLatestArray (sources, combiner, bufferSize());
278
278
}
279
279
280
280
/**
@@ -299,7 +299,7 @@ public static <T, R> Flowable<R> combineLatest(Publisher<? extends T>[] sources,
299
299
* are requested in a bounded manner, however, their backpressure is not enforced (the operator won't signal
300
300
* {@code MissingBackpressureException}) and may lead to {@code OutOfMemoryError} due to internal buffer bloat.</dd>
301
301
* <dt><b>Scheduler:</b></dt>
302
- * <dd>{@code combineLatest } does not operate by default on a particular {@link Scheduler}.</dd>
302
+ * <dd>{@code combineLatestArray } does not operate by default on a particular {@link Scheduler}.</dd>
303
303
* </dl>
304
304
*
305
305
* @param <T>
@@ -320,7 +320,7 @@ public static <T, R> Flowable<R> combineLatest(Publisher<? extends T>[] sources,
320
320
@CheckReturnValue
321
321
@NonNull
322
322
@BackpressureSupport(BackpressureKind.FULL)
323
- public static <T, R> Flowable<R> combineLatest (Publisher<? extends T>[] sources, Function<? super Object[], ? extends R> combiner, int bufferSize) {
323
+ public static <T, R> Flowable<R> combineLatestArray (Publisher<? extends T>[] sources, Function<? super Object[], ? extends R> combiner, int bufferSize) {
324
324
ObjectHelper.requireNonNull(sources, "sources is null");
325
325
if (sources.length == 0) {
326
326
return empty();
@@ -664,7 +664,7 @@ public static <T1, T2, R> Flowable<R> combineLatest(
664
664
BiFunction<? super T1, ? super T2, ? extends R> combiner) {
665
665
ObjectHelper.requireNonNull(source1, "source1 is null");
666
666
ObjectHelper.requireNonNull(source2, "source2 is null");
667
- return combineLatest (new Publisher[] { source1, source2 }, Functions.toFunction(combiner), bufferSize());
667
+ return combineLatestArray (new Publisher[] { source1, source2 }, Functions.toFunction(combiner), bufferSize());
668
668
}
669
669
670
670
/**
@@ -714,7 +714,7 @@ public static <T1, T2, T3, R> Flowable<R> combineLatest(
714
714
ObjectHelper.requireNonNull(source1, "source1 is null");
715
715
ObjectHelper.requireNonNull(source2, "source2 is null");
716
716
ObjectHelper.requireNonNull(source3, "source3 is null");
717
- return combineLatest (new Publisher[] { source1, source2, source3 }, Functions.toFunction(combiner), bufferSize());
717
+ return combineLatestArray (new Publisher[] { source1, source2, source3 }, Functions.toFunction(combiner), bufferSize());
718
718
}
719
719
720
720
/**
@@ -768,7 +768,7 @@ public static <T1, T2, T3, T4, R> Flowable<R> combineLatest(
768
768
ObjectHelper.requireNonNull(source2, "source2 is null");
769
769
ObjectHelper.requireNonNull(source3, "source3 is null");
770
770
ObjectHelper.requireNonNull(source4, "source4 is null");
771
- return combineLatest (new Publisher[] { source1, source2, source3, source4 }, Functions.toFunction(combiner), bufferSize());
771
+ return combineLatestArray (new Publisher[] { source1, source2, source3, source4 }, Functions.toFunction(combiner), bufferSize());
772
772
}
773
773
774
774
/**
@@ -827,7 +827,7 @@ public static <T1, T2, T3, T4, T5, R> Flowable<R> combineLatest(
827
827
ObjectHelper.requireNonNull(source3, "source3 is null");
828
828
ObjectHelper.requireNonNull(source4, "source4 is null");
829
829
ObjectHelper.requireNonNull(source5, "source5 is null");
830
- return combineLatest (new Publisher[] { source1, source2, source3, source4, source5 }, Functions.toFunction(combiner), bufferSize());
830
+ return combineLatestArray (new Publisher[] { source1, source2, source3, source4, source5 }, Functions.toFunction(combiner), bufferSize());
831
831
}
832
832
833
833
/**
@@ -890,7 +890,7 @@ public static <T1, T2, T3, T4, T5, T6, R> Flowable<R> combineLatest(
890
890
ObjectHelper.requireNonNull(source4, "source4 is null");
891
891
ObjectHelper.requireNonNull(source5, "source5 is null");
892
892
ObjectHelper.requireNonNull(source6, "source6 is null");
893
- return combineLatest (new Publisher[] { source1, source2, source3, source4, source5, source6 }, Functions.toFunction(combiner), bufferSize());
893
+ return combineLatestArray (new Publisher[] { source1, source2, source3, source4, source5, source6 }, Functions.toFunction(combiner), bufferSize());
894
894
}
895
895
896
896
/**
@@ -958,7 +958,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, R> Flowable<R> combineLatest(
958
958
ObjectHelper.requireNonNull(source5, "source5 is null");
959
959
ObjectHelper.requireNonNull(source6, "source6 is null");
960
960
ObjectHelper.requireNonNull(source7, "source7 is null");
961
- return combineLatest (new Publisher[] { source1, source2, source3, source4, source5, source6, source7 }, Functions.toFunction(combiner), bufferSize());
961
+ return combineLatestArray (new Publisher[] { source1, source2, source3, source4, source5, source6, source7 }, Functions.toFunction(combiner), bufferSize());
962
962
}
963
963
964
964
/**
@@ -1030,7 +1030,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, R> Flowable<R> combineLatest(
1030
1030
ObjectHelper.requireNonNull(source6, "source6 is null");
1031
1031
ObjectHelper.requireNonNull(source7, "source7 is null");
1032
1032
ObjectHelper.requireNonNull(source8, "source8 is null");
1033
- return combineLatest (new Publisher[] { source1, source2, source3, source4, source5, source6, source7, source8 }, Functions.toFunction(combiner), bufferSize());
1033
+ return combineLatestArray (new Publisher[] { source1, source2, source3, source4, source5, source6, source7, source8 }, Functions.toFunction(combiner), bufferSize());
1034
1034
}
1035
1035
1036
1036
/**
@@ -1107,7 +1107,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Flowable<R> combineLatest(
1107
1107
ObjectHelper.requireNonNull(source7, "source7 is null");
1108
1108
ObjectHelper.requireNonNull(source8, "source8 is null");
1109
1109
ObjectHelper.requireNonNull(source9, "source9 is null");
1110
- return combineLatest (new Publisher[] { source1, source2, source3, source4, source5, source6, source7, source8, source9 }, Functions.toFunction(combiner), bufferSize());
1110
+ return combineLatestArray (new Publisher[] { source1, source2, source3, source4, source5, source6, source7, source8, source9 }, Functions.toFunction(combiner), bufferSize());
1111
1111
}
1112
1112
1113
1113
/**
0 commit comments