@@ -160,7 +160,6 @@ public Iterator<T> getIterator() {
160
160
* @throws NoSuchElementException
161
161
* if this {@code BlockingObservable} emits no items
162
162
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: first()</a>
163
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229177.aspx">MSDN: Observable.First</a>
164
163
*/
165
164
public T first () {
166
165
return blockForSingle (o .first ());
@@ -176,7 +175,6 @@ public T first() {
176
175
* @throws NoSuchElementException
177
176
* if this {@code BlockingObservable} emits no such items
178
177
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: first()</a>
179
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229739.aspx">MSDN: Observable.First</a>
180
178
*/
181
179
public T first (Func1 <? super T , Boolean > predicate ) {
182
180
return blockForSingle (o .first (predicate ));
@@ -191,7 +189,6 @@ public T first(Func1<? super T, Boolean> predicate) {
191
189
* @return the first item emitted by this {@code BlockingObservable}, or the default value if it emits no
192
190
* items
193
191
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: firstOrDefault()</a>
194
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229320.aspx">MSDN: Observable.FirstOrDefault</a>
195
192
*/
196
193
public T firstOrDefault (T defaultValue ) {
197
194
return blockForSingle (o .map (UtilityFunctions .<T >identity ()).firstOrDefault (defaultValue ));
@@ -208,7 +205,6 @@ public T firstOrDefault(T defaultValue) {
208
205
* @return the first item emitted by this {@code BlockingObservable} that matches the predicate, or the
209
206
* default value if this {@code BlockingObservable} emits no matching items
210
207
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: firstOrDefault()</a>
211
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229759.aspx">MSDN: Observable.FirstOrDefault</a>
212
208
*/
213
209
public T firstOrDefault (T defaultValue , Func1 <? super T , Boolean > predicate ) {
214
210
return blockForSingle (o .filter (predicate ).map (UtilityFunctions .<T >identity ()).firstOrDefault (defaultValue ));
@@ -224,7 +220,6 @@ public T firstOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
224
220
* @throws NoSuchElementException
225
221
* if this {@code BlockingObservable} emits no items
226
222
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: last()</a>
227
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.last.aspx">MSDN: Observable.Last</a>
228
223
*/
229
224
public T last () {
230
225
return blockForSingle (o .last ());
@@ -242,7 +237,6 @@ public T last() {
242
237
* @throws NoSuchElementException
243
238
* if this {@code BlockingObservable} emits no items
244
239
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: last()</a>
245
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.last.aspx">MSDN: Observable.Last</a>
246
240
*/
247
241
public T last (final Func1 <? super T , Boolean > predicate ) {
248
242
return blockForSingle (o .last (predicate ));
@@ -259,7 +253,6 @@ public T last(final Func1<? super T, Boolean> predicate) {
259
253
* @return the last item emitted by the {@code BlockingObservable}, or the default value if it emits no
260
254
* items
261
255
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: lastOrDefault()</a>
262
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.lastordefault.aspx">MSDN: Observable.LastOrDefault</a>
263
256
*/
264
257
public T lastOrDefault (T defaultValue ) {
265
258
return blockForSingle (o .map (UtilityFunctions .<T >identity ()).lastOrDefault (defaultValue ));
@@ -278,7 +271,6 @@ public T lastOrDefault(T defaultValue) {
278
271
* @return the last item emitted by this {@code BlockingObservable} that matches the predicate, or the
279
272
* default value if it emits no matching items
280
273
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: lastOrDefault()</a>
281
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.lastordefault.aspx">MSDN: Observable.LastOrDefault</a>
282
274
*/
283
275
public T lastOrDefault (T defaultValue , Func1 <? super T , Boolean > predicate ) {
284
276
return blockForSingle (o .filter (predicate ).map (UtilityFunctions .<T >identity ()).lastOrDefault (defaultValue ));
@@ -296,7 +288,6 @@ public T lastOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
296
288
* @return an {@link Iterable} that on each iteration returns the item that this {@code BlockingObservable}
297
289
* has most recently emitted
298
290
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#mostrecent">RxJava wiki: mostRecent()</a>
299
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229751.aspx">MSDN: Observable.MostRecent</a>
300
291
*/
301
292
public Iterable <T > mostRecent (T initialValue ) {
302
293
return BlockingOperatorMostRecent .mostRecent (o , initialValue );
@@ -311,7 +302,6 @@ public Iterable<T> mostRecent(T initialValue) {
311
302
* @return an {@link Iterable} that blocks upon each iteration until this {@code BlockingObservable} emits
312
303
* a new item, whereupon the Iterable returns that item
313
304
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#next">RxJava Wiki: next()</a>
314
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh211897.aspx">MSDN: Observable.Next</a>
315
305
*/
316
306
public Iterable <T > next () {
317
307
return BlockingOperatorNext .next (o );
@@ -329,7 +319,6 @@ public Iterable<T> next() {
329
319
*
330
320
* @return an Iterable that always returns the latest item emitted by this {@code BlockingObservable}
331
321
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#latest">RxJava wiki: latest()</a>
332
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh212115.aspx">MSDN: Observable.Latest</a>
333
322
*/
334
323
public Iterable <T > latest () {
335
324
return BlockingOperatorLatest .latest (o );
@@ -343,7 +332,6 @@ public Iterable<T> latest() {
343
332
*
344
333
* @return the single item emitted by this {@code BlockingObservable}
345
334
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: single()</a>
346
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.single.aspx">MSDN: Observable.Single</a>
347
335
*/
348
336
public T single () {
349
337
return blockForSingle (o .single ());
@@ -359,7 +347,6 @@ public T single() {
359
347
* a predicate function to evaluate items emitted by this {@link BlockingObservable}
360
348
* @return the single item emitted by this {@code BlockingObservable} that matches the predicate
361
349
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: single()</a>
362
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.single.aspx">MSDN: Observable.Single</a>
363
350
*/
364
351
public T single (Func1 <? super T , Boolean > predicate ) {
365
352
return blockForSingle (o .single (predicate ));
@@ -377,7 +364,6 @@ public T single(Func1<? super T, Boolean> predicate) {
377
364
* @return the single item emitted by this {@code BlockingObservable}, or the default value if it emits no
378
365
* items
379
366
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: singleOrDefault()</a>
380
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.singleordefault.aspx">MSDN: Observable.SingleOrDefault</a>
381
367
*/
382
368
public T singleOrDefault (T defaultValue ) {
383
369
return blockForSingle (o .map (UtilityFunctions .<T >identity ()).singleOrDefault (defaultValue ));
@@ -397,7 +383,6 @@ public T singleOrDefault(T defaultValue) {
397
383
* @return the single item emitted by the {@code BlockingObservable} that matches the predicate, or the
398
384
* default value if no such items are emitted
399
385
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: singleOrDefault()</a>
400
- * @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.singleordefault.aspx">MSDN: Observable.SingleOrDefault</a>
401
386
*/
402
387
public T singleOrDefault (T defaultValue , Func1 <? super T , Boolean > predicate ) {
403
388
return blockForSingle (o .filter (predicate ).map (UtilityFunctions .<T >identity ()).singleOrDefault (defaultValue ));
0 commit comments