Range操作符的作用
代码示例
RxJava版本:2.2.19
range(final int start, final int count)
rangeLong(long start, long count)
intervalRange(long start, long count, long initialDelay, long period, TimeUnit unit, Scheduler scheduler)
intervalRange(long start, long count, long initialDelay, long period, TimeUnit unit, Scheduler scheduler)
后面两条参考Interval。
Observable<Integer> range = Observable.range(24, 857);
Observable<Long> rangeLong = Observable.rangeLong(5234L, 123123L);