@@ -88,7 +88,7 @@ public static <T> BlockingObservable<T> from(final Observable<? extends T> o) {
88
88
* the {@link Action1} to invoke for each item emitted by the {@code BlockingObservable}
89
89
* @throws RuntimeException
90
90
* if an error occurs
91
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#foreach">RxJava wiki: forEach() </a>
91
+ * @see <a href="http ://reactivex.io/documentation/operators/subscribe.html">ReactiveX documentation: Subscribe </a>
92
92
*/
93
93
public void forEach (final Action1 <? super T > onNext ) {
94
94
final CountDownLatch latch = new CountDownLatch (1 );
@@ -149,7 +149,7 @@ public void onNext(T args) {
149
149
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.getIterator.png" alt="">
150
150
*
151
151
* @return an {@link Iterator} that can iterate over the items emitted by this {@code BlockingObservable}
152
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#transformations-tofuture-toiterable-and-toiteratorgetiterator">RxJava wiki: getIterator() </a>
152
+ * @see <a href="http ://reactivex.io/documentation/operators/to.html">ReactiveX documentation: To </a>
153
153
*/
154
154
public Iterator <T > getIterator () {
155
155
return BlockingOperatorToIterator .toIterator (o );
@@ -162,7 +162,7 @@ public Iterator<T> getIterator() {
162
162
* @return the first item emitted by this {@code BlockingObservable}
163
163
* @throws NoSuchElementException
164
164
* if this {@code BlockingObservable} emits no items
165
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# first-and-firstordefault">RxJava wiki: first() </a>
165
+ * @see <a href="http ://reactivex.io/documentation/operators/ first.html">ReactiveX documentation: First </a>
166
166
*/
167
167
public T first () {
168
168
return blockForSingle (o .first ());
@@ -177,7 +177,7 @@ public T first() {
177
177
* @return the first item emitted by this {@code BlockingObservable} that matches the predicate
178
178
* @throws NoSuchElementException
179
179
* if this {@code BlockingObservable} emits no such items
180
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# first-and-firstordefault">RxJava wiki: first() </a>
180
+ * @see <a href="http ://reactivex.io/documentation/operators/ first.html">ReactiveX documentation: First </a>
181
181
*/
182
182
public T first (Func1 <? super T , Boolean > predicate ) {
183
183
return blockForSingle (o .first (predicate ));
@@ -191,7 +191,7 @@ public T first(Func1<? super T, Boolean> predicate) {
191
191
* a default value to return if this {@code BlockingObservable} emits no items
192
192
* @return the first item emitted by this {@code BlockingObservable}, or the default value if it emits no
193
193
* items
194
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# first-and-firstordefault">RxJava wiki: firstOrDefault() </a>
194
+ * @see <a href="http ://reactivex.io/documentation/operators/ first.html">ReactiveX documentation: First </a>
195
195
*/
196
196
public T firstOrDefault (T defaultValue ) {
197
197
return blockForSingle (o .map (UtilityFunctions .<T >identity ()).firstOrDefault (defaultValue ));
@@ -207,7 +207,7 @@ public T firstOrDefault(T defaultValue) {
207
207
* a predicate function to evaluate items emitted by this {@code BlockingObservable}
208
208
* @return the first item emitted by this {@code BlockingObservable} that matches the predicate, or the
209
209
* default value if this {@code BlockingObservable} emits no matching items
210
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# first-and-firstordefault">RxJava wiki: firstOrDefault() </a>
210
+ * @see <a href="http ://reactivex.io/documentation/operators/ first.html">ReactiveX documentation: First </a>
211
211
*/
212
212
public T firstOrDefault (T defaultValue , Func1 <? super T , Boolean > predicate ) {
213
213
return blockForSingle (o .filter (predicate ).map (UtilityFunctions .<T >identity ()).firstOrDefault (defaultValue ));
@@ -222,7 +222,7 @@ public T firstOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
222
222
* @return the last item emitted by this {@code BlockingObservable}
223
223
* @throws NoSuchElementException
224
224
* if this {@code BlockingObservable} emits no items
225
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# last-and-lastordefault">RxJava wiki: last() </a>
225
+ * @see <a href="http ://reactivex.io/documentation/operators/ last.html">ReactiveX documentation: Last </a>
226
226
*/
227
227
public T last () {
228
228
return blockForSingle (o .last ());
@@ -239,7 +239,7 @@ public T last() {
239
239
* @return the last item emitted by the {@code BlockingObservable} that matches the predicate
240
240
* @throws NoSuchElementException
241
241
* if this {@code BlockingObservable} emits no items
242
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# last-and-lastordefault">RxJava wiki: last() </a>
242
+ * @see <a href="http ://reactivex.io/documentation/operators/ last.html">ReactiveX documentation: Last </a>
243
243
*/
244
244
public T last (final Func1 <? super T , Boolean > predicate ) {
245
245
return blockForSingle (o .last (predicate ));
@@ -255,7 +255,7 @@ public T last(final Func1<? super T, Boolean> predicate) {
255
255
* a default value to return if this {@code BlockingObservable} emits no items
256
256
* @return the last item emitted by the {@code BlockingObservable}, or the default value if it emits no
257
257
* items
258
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# last-and-lastordefault">RxJava wiki: lastOrDefault() </a>
258
+ * @see <a href="http ://reactivex.io/documentation/operators/ last.html">ReactiveX documentation: Last </a>
259
259
*/
260
260
public T lastOrDefault (T defaultValue ) {
261
261
return blockForSingle (o .map (UtilityFunctions .<T >identity ()).lastOrDefault (defaultValue ));
@@ -273,7 +273,7 @@ public T lastOrDefault(T defaultValue) {
273
273
* a predicate function to evaluate items emitted by this {@code BlockingObservable}
274
274
* @return the last item emitted by this {@code BlockingObservable} that matches the predicate, or the
275
275
* default value if it emits no matching items
276
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators# last-and-lastordefault">RxJava wiki: lastOrDefault() </a>
276
+ * @see <a href="http ://reactivex.io/documentation/operators/ last.html">ReactiveX documentation: Last </a>
277
277
*/
278
278
public T lastOrDefault (T defaultValue , Func1 <? super T , Boolean > predicate ) {
279
279
return blockForSingle (o .filter (predicate ).map (UtilityFunctions .<T >identity ()).lastOrDefault (defaultValue ));
@@ -290,7 +290,7 @@ public T lastOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
290
290
* {@code BlockingObservable} has not yet emitted an item
291
291
* @return an {@link Iterable} that on each iteration returns the item that this {@code BlockingObservable}
292
292
* has most recently emitted
293
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#mostrecent">RxJava wiki: mostRecent() </a>
293
+ * @see <a href="http ://reactivex.io/documentation/operators/first.html">ReactiveX documentation: First </a>
294
294
*/
295
295
public Iterable <T > mostRecent (T initialValue ) {
296
296
return BlockingOperatorMostRecent .mostRecent (o , initialValue );
@@ -304,7 +304,7 @@ public Iterable<T> mostRecent(T initialValue) {
304
304
*
305
305
* @return an {@link Iterable} that blocks upon each iteration until this {@code BlockingObservable} emits
306
306
* a new item, whereupon the Iterable returns that item
307
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#next">RxJava wiki: next() </a>
307
+ * @see <a href="http ://reactivex.io/documentation/operators/takelast.html">ReactiveX documentation: TakeLast </a>
308
308
*/
309
309
public Iterable <T > next () {
310
310
return BlockingOperatorNext .next (o );
@@ -321,7 +321,7 @@ public Iterable<T> next() {
321
321
* event.
322
322
*
323
323
* @return an Iterable that always returns the latest item emitted by this {@code BlockingObservable}
324
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#latest">RxJava wiki: latest() </a>
324
+ * @see <a href="http ://reactivex.io/documentation/operators/first.html">ReactiveX documentation: First </a>
325
325
*/
326
326
public Iterable <T > latest () {
327
327
return BlockingOperatorLatest .latest (o );
@@ -334,7 +334,7 @@ public Iterable<T> latest() {
334
334
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.single.png" alt="">
335
335
*
336
336
* @return the single item emitted by this {@code BlockingObservable}
337
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava wiki: single() </a>
337
+ * @see <a href="http ://reactivex.io/documentation/operators/first.html">ReactiveX documentation: First </a>
338
338
*/
339
339
public T single () {
340
340
return blockForSingle (o .single ());
@@ -349,7 +349,7 @@ public T single() {
349
349
* @param predicate
350
350
* a predicate function to evaluate items emitted by this {@link BlockingObservable}
351
351
* @return the single item emitted by this {@code BlockingObservable} that matches the predicate
352
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava wiki: single() </a>
352
+ * @see <a href="http ://reactivex.io/documentation/operators/first.html">ReactiveX documentation: First </a>
353
353
*/
354
354
public T single (Func1 <? super T , Boolean > predicate ) {
355
355
return blockForSingle (o .single (predicate ));
@@ -366,7 +366,7 @@ public T single(Func1<? super T, Boolean> predicate) {
366
366
* a default value to return if this {@code BlockingObservable} emits no items
367
367
* @return the single item emitted by this {@code BlockingObservable}, or the default value if it emits no
368
368
* items
369
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava wiki: singleOrDefault() </a>
369
+ * @see <a href="http ://reactivex.io/documentation/operators/first.html">ReactiveX documentation: First </a>
370
370
*/
371
371
public T singleOrDefault (T defaultValue ) {
372
372
return blockForSingle (o .map (UtilityFunctions .<T >identity ()).singleOrDefault (defaultValue ));
@@ -385,7 +385,7 @@ public T singleOrDefault(T defaultValue) {
385
385
* a predicate function to evaluate items emitted by this {@code BlockingObservable}
386
386
* @return the single item emitted by the {@code BlockingObservable} that matches the predicate, or the
387
387
* default value if no such items are emitted
388
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava wiki: singleOrDefault() </a>
388
+ * @see <a href="http ://reactivex.io/documentation/operators/first.html">ReactiveX documentation: First </a>
389
389
*/
390
390
public T singleOrDefault (T defaultValue , Func1 <? super T , Boolean > predicate ) {
391
391
return blockForSingle (o .filter (predicate ).map (UtilityFunctions .<T >identity ()).singleOrDefault (defaultValue ));
@@ -403,7 +403,7 @@ public T singleOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
403
403
* <img width="640" height="395" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.toFuture.png" alt="">
404
404
*
405
405
* @return a {@link Future} that expects a single item to be emitted by this {@code BlockingObservable}
406
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#transformations-tofuture-toiterable-and-toiteratorgetiterator">RxJava wiki: toFuture() </a>
406
+ * @see <a href="http ://reactivex.io/documentation/operators/to.html">ReactiveX documentation: To </a>
407
407
*/
408
408
public Future <T > toFuture () {
409
409
return BlockingOperatorToFuture .toFuture (o );
@@ -415,7 +415,7 @@ public Future<T> toFuture() {
415
415
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.toIterable.png" alt="">
416
416
*
417
417
* @return an {@link Iterable} version of this {@code BlockingObservable}
418
- * @see <a href="https ://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#transformations-tofuture-toiterable-and-toiteratorgetiterator">RxJava wiki: toIterable() </a>
418
+ * @see <a href="http ://reactivex.io/documentation/operators/to.html">ReactiveX documentation: To </a>
419
419
*/
420
420
public Iterable <T > toIterable () {
421
421
return new Iterable <T >() {
0 commit comments