Skip to content

Commit f863a4e

Browse files
Add see annotation for range operators (#6934)
1 parent cceb5d7 commit f863a4e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/main/java/io/reactivex/rxjava3/core/Flowable.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -2921,11 +2921,12 @@ public static Flowable<Long> interval(long period, @NonNull TimeUnit unit, @NonN
29212921
* @throws IllegalArgumentException
29222922
* if {@code count} is less than zero, or if {@code start} + {@code count} &minus; 1 exceeds
29232923
* {@link Long#MAX_VALUE}
2924+
* @see #range(int, int)
29242925
*/
29252926
@CheckReturnValue
2927+
@NonNull
29262928
@BackpressureSupport(BackpressureKind.ERROR)
29272929
@SchedulerSupport(SchedulerSupport.COMPUTATION)
2928-
@NonNull
29292930
public static Flowable<Long> intervalRange(long start, long count, long initialDelay, long period, @NonNull TimeUnit unit) {
29302931
return intervalRange(start, count, initialDelay, period, unit, Schedulers.computation());
29312932
}
@@ -4386,6 +4387,8 @@ public static <T> Flowable<T> never() {
43864387
* if {@code count} is less than zero, or if {@code start} + {@code count} &minus; 1 exceeds
43874388
* {@link Integer#MAX_VALUE}
43884389
* @see <a href="http://reactivex.io/documentation/operators/range.html">ReactiveX operators documentation: Range</a>
4390+
* @see #rangeLong(long, long)
4391+
* @see #intervalRange(long, long, long, long, TimeUnit)
43894392
*/
43904393
@CheckReturnValue
43914394
@BackpressureSupport(BackpressureKind.FULL)

src/main/java/io/reactivex/rxjava3/core/Observable.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -2537,10 +2537,11 @@ public static Observable<Long> interval(long period, @NonNull TimeUnit unit, @No
25372537
* @throws IllegalArgumentException
25382538
* if {@code count} is negative, or if {@code start} + {@code count} &minus; 1 exceeds
25392539
* {@link Long#MAX_VALUE}
2540+
* @see #range(int, int)
25402541
*/
25412542
@CheckReturnValue
2542-
@SchedulerSupport(SchedulerSupport.COMPUTATION)
25432543
@NonNull
2544+
@SchedulerSupport(SchedulerSupport.COMPUTATION)
25442545
public static Observable<Long> intervalRange(long start, long count, long initialDelay, long period, @NonNull TimeUnit unit) {
25452546
return intervalRange(start, count, initialDelay, period, unit, Schedulers.computation());
25462547
}
@@ -3895,6 +3896,8 @@ public static <T> Observable<T> never() {
38953896
* if {@code count} is negative, or if {@code start} + {@code count} &minus; 1 exceeds
38963897
* {@link Integer#MAX_VALUE}
38973898
* @see <a href="http://reactivex.io/documentation/operators/range.html">ReactiveX operators documentation: Range</a>
3899+
* @see #rangeLong(long, long)
3900+
* @see #intervalRange(long, long, long, long, TimeUnit)
38983901
*/
38993902
@CheckReturnValue
39003903
@SchedulerSupport(SchedulerSupport.NONE)
@@ -3933,6 +3936,7 @@ public static Observable<Integer> range(int start, int count) {
39333936
* if {@code count} is negative, or if {@code start} + {@code count} &minus; 1 exceeds
39343937
* {@link Long#MAX_VALUE}
39353938
* @see <a href="http://reactivex.io/documentation/operators/range.html">ReactiveX operators documentation: Range</a>
3939+
* @see #intervalRange(long, long, long, long, TimeUnit)
39363940
*/
39373941
@CheckReturnValue
39383942
@SchedulerSupport(SchedulerSupport.NONE)

0 commit comments

Comments
 (0)