@@ -255,7 +255,7 @@ public static int bufferSize() {
255255 * are requested in a bounded manner, however, their backpressure is not enforced (the operator won't signal
256256 * {@code MissingBackpressureException}) and may lead to {@code OutOfMemoryError} due to internal buffer bloat.</dd>
257257 * <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>
259259 * </dl>
260260 *
261261 * @param <T>
@@ -273,8 +273,8 @@ public static int bufferSize() {
273273 @SchedulerSupport(SchedulerSupport.NONE)
274274 @CheckReturnValue
275275 @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());
278278 }
279279
280280 /**
@@ -299,7 +299,7 @@ public static <T, R> Flowable<R> combineLatest(Publisher<? extends T>[] sources,
299299 * are requested in a bounded manner, however, their backpressure is not enforced (the operator won't signal
300300 * {@code MissingBackpressureException}) and may lead to {@code OutOfMemoryError} due to internal buffer bloat.</dd>
301301 * <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>
303303 * </dl>
304304 *
305305 * @param <T>
@@ -320,7 +320,7 @@ public static <T, R> Flowable<R> combineLatest(Publisher<? extends T>[] sources,
320320 @CheckReturnValue
321321 @NonNull
322322 @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) {
324324 ObjectHelper.requireNonNull(sources, "sources is null");
325325 if (sources.length == 0) {
326326 return empty();
@@ -664,7 +664,7 @@ public static <T1, T2, R> Flowable<R> combineLatest(
664664 BiFunction<? super T1, ? super T2, ? extends R> combiner) {
665665 ObjectHelper.requireNonNull(source1, "source1 is null");
666666 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());
668668 }
669669
670670 /**
@@ -714,7 +714,7 @@ public static <T1, T2, T3, R> Flowable<R> combineLatest(
714714 ObjectHelper.requireNonNull(source1, "source1 is null");
715715 ObjectHelper.requireNonNull(source2, "source2 is null");
716716 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());
718718 }
719719
720720 /**
@@ -768,7 +768,7 @@ public static <T1, T2, T3, T4, R> Flowable<R> combineLatest(
768768 ObjectHelper.requireNonNull(source2, "source2 is null");
769769 ObjectHelper.requireNonNull(source3, "source3 is null");
770770 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());
772772 }
773773
774774 /**
@@ -827,7 +827,7 @@ public static <T1, T2, T3, T4, T5, R> Flowable<R> combineLatest(
827827 ObjectHelper.requireNonNull(source3, "source3 is null");
828828 ObjectHelper.requireNonNull(source4, "source4 is null");
829829 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());
831831 }
832832
833833 /**
@@ -890,7 +890,7 @@ public static <T1, T2, T3, T4, T5, T6, R> Flowable<R> combineLatest(
890890 ObjectHelper.requireNonNull(source4, "source4 is null");
891891 ObjectHelper.requireNonNull(source5, "source5 is null");
892892 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());
894894 }
895895
896896 /**
@@ -958,7 +958,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, R> Flowable<R> combineLatest(
958958 ObjectHelper.requireNonNull(source5, "source5 is null");
959959 ObjectHelper.requireNonNull(source6, "source6 is null");
960960 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());
962962 }
963963
964964 /**
@@ -1030,7 +1030,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, R> Flowable<R> combineLatest(
10301030 ObjectHelper.requireNonNull(source6, "source6 is null");
10311031 ObjectHelper.requireNonNull(source7, "source7 is null");
10321032 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());
10341034 }
10351035
10361036 /**
@@ -1107,7 +1107,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Flowable<R> combineLatest(
11071107 ObjectHelper.requireNonNull(source7, "source7 is null");
11081108 ObjectHelper.requireNonNull(source8, "source8 is null");
11091109 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());
11111111 }
11121112
11131113 /**
0 commit comments