@@ -667,16 +667,16 @@ public static <T> Observable<T> from(Iterable<? extends T> iterable) {
667
667
668
668
/**
669
669
* Converts an {@link Iterable} sequence into an Observable with the specified scheduler.
670
- *
671
- * @param iterable
672
- * the source {@link Iterable} sequence
673
- * @param scheduler
674
- * the scheduler to emit the items of the iterable
675
- * @param <T>
676
- * the type of items in the {@link Iterable} sequence and the type of items to be
677
- * emitted by the resulting Observable
678
- * @return an Observable that emits each item in the source {@link Iterable} sequence with the specified scheduler
679
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh212140(v=vs.103) .aspx">MSDN: Observable.ToObservable</a>
670
+ * <p>
671
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/from.s.png">
672
+ *
673
+ * @param iterable the source {@link Iterable} sequence
674
+ * @param scheduler the scheduler to emit the items of the iterable
675
+ * @param <T> the type of items in the {@link Iterable} sequence and the
676
+ * type of items to be emitted by the resulting Observable
677
+ * @return an Observable that emits each item in the source {@link Iterable}
678
+ * sequence with the specified scheduler
679
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh212140.aspx">MSDN: Observable.ToObservable</a>
680
680
*/
681
681
public static <T > Observable <T > from (Iterable <? extends T > iterable , Scheduler scheduler ) {
682
682
return from (iterable ).observeOn (scheduler );
@@ -977,17 +977,15 @@ public static Observable<Integer> range(int start, int count) {
977
977
}
978
978
979
979
/**
980
- * Generates an Observable that emits a sequence of integers within a specified range with the specified scheduler.
981
- *
982
- * @param start
983
- * the value of the first integer in the sequence
984
- * @param count
985
- * the number of sequential integers to generate
986
- * @param scheduler
987
- * the scheduler to run the generator loop on
980
+ * Generates an Observable that emits a sequence of integers within a
981
+ * specified range with the specified scheduler.
982
+ * <p>
983
+ * <img width="640" src="https://github.com/Netflix/RxJava/wiki/images/rx-operators/range.s.png">
984
+ * @param start the value of the first integer in the sequence
985
+ * @param count the number of sequential integers to generate
986
+ * @param scheduler the scheduler to run the generator loop on
988
987
* @return an Observable that emits a range of sequential integers
989
- *
990
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh211896(v=vs.103).aspx">Observable.Range Method (Int32, Int32, IScheduler)</a>
988
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh211896.aspx">Observable.Range Method (Int32, Int32, IScheduler)</a>
991
989
*/
992
990
public static Observable <Integer > range (int start , int count , Scheduler scheduler ) {
993
991
return range (start , count ).observeOn (scheduler );
@@ -3210,7 +3208,7 @@ public Observable<T> filter(Func1<? super T, Boolean> predicate) {
3210
3208
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/distinctUntilChanged.png">
3211
3209
*
3212
3210
* @return an Observable of sequentially distinct items
3213
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229494%28v=vs.103%29 .aspx">MSDN: Observable.distinctUntilChanged</a>
3211
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229494.aspx">MSDN: Observable.distinctUntilChanged</a>
3214
3212
*/
3215
3213
public Observable <T > distinctUntilChanged () {
3216
3214
return create (OperationDistinctUntilChanged .distinctUntilChanged (this ));
@@ -3227,7 +3225,7 @@ public Observable<T> distinctUntilChanged() {
3227
3225
* value that is used for deciding whether an item is
3228
3226
* sequentially distinct from another one or not
3229
3227
* @return an Observable of sequentially distinct items
3230
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229508%28v=vs.103%29 .aspx">MSDN: Observable.distinctUntilChanged</a>
3228
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229508.aspx">MSDN: Observable.distinctUntilChanged</a>
3231
3229
*/
3232
3230
public <U > Observable <T > distinctUntilChanged (Func1 <? super T , ? extends U > keySelector ) {
3233
3231
return create (OperationDistinctUntilChanged .distinctUntilChanged (this , keySelector ));
@@ -3240,7 +3238,7 @@ public <U> Observable<T> distinctUntilChanged(Func1<? super T, ? extends U> keyS
3240
3238
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/distinct.png">
3241
3239
*
3242
3240
* @return an Observable of distinct items
3243
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229764%28v=vs.103%29 .aspx">MSDN: Observable.distinct</a>
3241
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229764.aspx">MSDN: Observable.distinct</a>
3244
3242
*/
3245
3243
public Observable <T > distinct () {
3246
3244
return create (OperationDistinct .distinct (this ));
@@ -3256,7 +3254,7 @@ public Observable<T> distinct() {
3256
3254
* value that is used to decide whether an item is
3257
3255
* distinct from another one or not
3258
3256
* @return an Observable that emits distinct items
3259
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh244310%28v=vs.103%29 .aspx">MSDN: Observable.distinct</a>
3257
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh244310.aspx">MSDN: Observable.distinct</a>
3260
3258
*/
3261
3259
public <U > Observable <T > distinct (Func1 <? super T , ? extends U > keySelector ) {
3262
3260
return create (OperationDistinct .distinct (this , keySelector ));
@@ -4588,28 +4586,30 @@ public Observable<T> startWith(Iterable<T> values) {
4588
4586
}
4589
4587
4590
4588
/**
4591
- * Emit a specified set of items with the specified scheduler before beginning to emit items from the source Observable.
4592
- *
4593
- * @param values
4594
- * Iterable of the items you want the modified Observable to emit first
4595
- * @param scheduler
4596
- * The scheduler to emit the prepended values on.
4589
+ * Emit a specified set of items with the specified scheduler before
4590
+ * beginning to emit items from the source Observable.
4591
+ * <p>
4592
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/startWith.s.png">
4593
+ *
4594
+ * @param values iterable of the items you want the modified Observable to emit first
4595
+ * @param scheduler the scheduler to emit the prepended values on
4597
4596
* @return an Observable that exhibits the modified behavior
4598
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229372(v=vs.103) .aspx">MSDN: Observable.StartWith</a>
4597
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229372.aspx">MSDN: Observable.StartWith</a>
4599
4598
*/
4600
4599
public Observable <T > startWith (Iterable <T > values , Scheduler scheduler ) {
4601
4600
return concat (from (values , scheduler ), this );
4602
4601
}
4603
4602
4604
4603
/**
4605
- * Emit a specified array of items with the specified scheduler before beginning to emit items from the source Observable.
4604
+ * Emit a specified array of items with the specified scheduler before
4605
+ * beginning to emit items from the source Observable.
4606
+ * <p>
4607
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/startWith.s.png">
4606
4608
*
4607
- * @param values
4608
- * The items you want the modified Observable to emit first
4609
- * @param scheduler
4610
- * The scheduler to emit the prepended values on.
4609
+ * @param values the items you want the modified Observable to emit first
4610
+ * @param scheduler the scheduler to emit the prepended values on
4611
4611
* @return an Observable that exhibits the modified behavior
4612
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229372(v=vs.103) .aspx">MSDN: Observable.StartWith</a>
4612
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229372.aspx">MSDN: Observable.StartWith</a>
4613
4613
*/
4614
4614
public Observable <T > startWith (T [] values , Scheduler scheduler ) {
4615
4615
return startWith (Arrays .asList (values ), scheduler );
0 commit comments