Skip to content

Commit b37c7ed

Browse files
committed
updating javadocs to link to latest web docs
1 parent 1a94d55 commit b37c7ed

File tree

6 files changed

+340
-344
lines changed

6 files changed

+340
-344
lines changed

src/main/java/rx/Observable.java

Lines changed: 315 additions & 322 deletions
Large diffs are not rendered by default.

src/main/java/rx/Observer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* {@code Observable} will call an Observer's {@link #onCompleted} method exactly once or the Observer's
2424
* {@link #onError} method exactly once.
2525
*
26-
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable">RxJava Uncyclo: Observable</a>
26+
* @see <a href="http://reactivex.io/documentation/observable.html">ReactiveX documentation: Observable</a>
2727
* @param <T>
2828
* the type of item the Observer expects to observe
2929
*/

src/main/java/rx/Subscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* {@link Observable} will call a Subscriber's {@link #onCompleted} method exactly once or the Subscriber's
2727
* {@link #onError} method exactly once.
2828
*
29-
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable">RxJava Uncyclo: Observable</a>
29+
* @see <a href="http://reactivex.io/documentation/observable.html">ReactiveX documentation: Observable</a>
3030
* @param <T>
3131
* the type of items the Subscriber expects to observe
3232
*/

src/main/java/rx/observables/BlockingObservable.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static <T> BlockingObservable<T> from(final Observable<? extends T> o) {
8888
* the {@link Action1} to invoke for each item emitted by the {@code BlockingObservable}
8989
* @throws RuntimeException
9090
* 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>
9292
*/
9393
public void forEach(final Action1<? super T> onNext) {
9494
final CountDownLatch latch = new CountDownLatch(1);
@@ -149,7 +149,7 @@ public void onNext(T args) {
149149
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.getIterator.png" alt="">
150150
*
151151
* @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>
153153
*/
154154
public Iterator<T> getIterator() {
155155
return BlockingOperatorToIterator.toIterator(o);
@@ -162,7 +162,7 @@ public Iterator<T> getIterator() {
162162
* @return the first item emitted by this {@code BlockingObservable}
163163
* @throws NoSuchElementException
164164
* 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>
166166
*/
167167
public T first() {
168168
return blockForSingle(o.first());
@@ -177,7 +177,7 @@ public T first() {
177177
* @return the first item emitted by this {@code BlockingObservable} that matches the predicate
178178
* @throws NoSuchElementException
179179
* 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>
181181
*/
182182
public T first(Func1<? super T, Boolean> predicate) {
183183
return blockForSingle(o.first(predicate));
@@ -191,7 +191,7 @@ public T first(Func1<? super T, Boolean> predicate) {
191191
* a default value to return if this {@code BlockingObservable} emits no items
192192
* @return the first item emitted by this {@code BlockingObservable}, or the default value if it emits no
193193
* 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>
195195
*/
196196
public T firstOrDefault(T defaultValue) {
197197
return blockForSingle(o.map(UtilityFunctions.<T>identity()).firstOrDefault(defaultValue));
@@ -207,7 +207,7 @@ public T firstOrDefault(T defaultValue) {
207207
* a predicate function to evaluate items emitted by this {@code BlockingObservable}
208208
* @return the first item emitted by this {@code BlockingObservable} that matches the predicate, or the
209209
* 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>
211211
*/
212212
public T firstOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
213213
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) {
222222
* @return the last item emitted by this {@code BlockingObservable}
223223
* @throws NoSuchElementException
224224
* 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>
226226
*/
227227
public T last() {
228228
return blockForSingle(o.last());
@@ -239,7 +239,7 @@ public T last() {
239239
* @return the last item emitted by the {@code BlockingObservable} that matches the predicate
240240
* @throws NoSuchElementException
241241
* 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>
243243
*/
244244
public T last(final Func1<? super T, Boolean> predicate) {
245245
return blockForSingle(o.last(predicate));
@@ -255,7 +255,7 @@ public T last(final Func1<? super T, Boolean> predicate) {
255255
* a default value to return if this {@code BlockingObservable} emits no items
256256
* @return the last item emitted by the {@code BlockingObservable}, or the default value if it emits no
257257
* 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>
259259
*/
260260
public T lastOrDefault(T defaultValue) {
261261
return blockForSingle(o.map(UtilityFunctions.<T>identity()).lastOrDefault(defaultValue));
@@ -273,7 +273,7 @@ public T lastOrDefault(T defaultValue) {
273273
* a predicate function to evaluate items emitted by this {@code BlockingObservable}
274274
* @return the last item emitted by this {@code BlockingObservable} that matches the predicate, or the
275275
* 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>
277277
*/
278278
public T lastOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
279279
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) {
290290
* {@code BlockingObservable} has not yet emitted an item
291291
* @return an {@link Iterable} that on each iteration returns the item that this {@code BlockingObservable}
292292
* 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>
294294
*/
295295
public Iterable<T> mostRecent(T initialValue) {
296296
return BlockingOperatorMostRecent.mostRecent(o, initialValue);
@@ -304,7 +304,7 @@ public Iterable<T> mostRecent(T initialValue) {
304304
*
305305
* @return an {@link Iterable} that blocks upon each iteration until this {@code BlockingObservable} emits
306306
* 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>
308308
*/
309309
public Iterable<T> next() {
310310
return BlockingOperatorNext.next(o);
@@ -321,7 +321,7 @@ public Iterable<T> next() {
321321
* event.
322322
*
323323
* @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>
325325
*/
326326
public Iterable<T> latest() {
327327
return BlockingOperatorLatest.latest(o);
@@ -334,7 +334,7 @@ public Iterable<T> latest() {
334334
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.single.png" alt="">
335335
*
336336
* @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>
338338
*/
339339
public T single() {
340340
return blockForSingle(o.single());
@@ -349,7 +349,7 @@ public T single() {
349349
* @param predicate
350350
* a predicate function to evaluate items emitted by this {@link BlockingObservable}
351351
* @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>
353353
*/
354354
public T single(Func1<? super T, Boolean> predicate) {
355355
return blockForSingle(o.single(predicate));
@@ -366,7 +366,7 @@ public T single(Func1<? super T, Boolean> predicate) {
366366
* a default value to return if this {@code BlockingObservable} emits no items
367367
* @return the single item emitted by this {@code BlockingObservable}, or the default value if it emits no
368368
* 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>
370370
*/
371371
public T singleOrDefault(T defaultValue) {
372372
return blockForSingle(o.map(UtilityFunctions.<T>identity()).singleOrDefault(defaultValue));
@@ -385,7 +385,7 @@ public T singleOrDefault(T defaultValue) {
385385
* a predicate function to evaluate items emitted by this {@code BlockingObservable}
386386
* @return the single item emitted by the {@code BlockingObservable} that matches the predicate, or the
387387
* 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>
389389
*/
390390
public T singleOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
391391
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) {
403403
* <img width="640" height="395" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.toFuture.png" alt="">
404404
*
405405
* @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>
407407
*/
408408
public Future<T> toFuture() {
409409
return BlockingOperatorToFuture.toFuture(o);
@@ -415,7 +415,7 @@ public Future<T> toFuture() {
415415
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.toIterable.png" alt="">
416416
*
417417
* @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>
419419
*/
420420
public Iterable<T> toIterable() {
421421
return new Iterable<T>() {

src/main/java/rx/observables/ConnectableObservable.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ protected ConnectableObservable(OnSubscribe<T> onSubscribe) {
4747
* To disconnect from a synchronous source, use the {@link #connect(rx.functions.Action1)} method.
4848
*
4949
* @return the subscription representing the connection
50+
* @see <a href="http://reactivex.io/documentation/operators/connect.html">ReactiveX documentation: Connect</a>
5051
*/
5152
public final Subscription connect() {
5253
final Subscription[] out = new Subscription[1];
@@ -65,6 +66,7 @@ public void call(Subscription t1) {
6566
* @param connection
6667
* the action that receives the connection subscription before the subscription to source happens
6768
* allowing the caller to synchronously disconnect a synchronous source
69+
* @see <a href="http://reactivex.io/documentation/operators/connect.html">ReactiveX documentation: Connect</a>
6870
*/
6971
public abstract void connect(Action1<? super Subscription> connection);
7072

@@ -73,6 +75,7 @@ public void call(Subscription t1) {
7375
* is at least one subscription to this {@code ConnectableObservable}.
7476
*
7577
* @return a {@link Observable}
78+
* @see <a href="http://reactivex.io/documentation/operators/refcount.html">ReactiveX documentation: RefCount</a>
7679
*/
7780
public Observable<T> refCount() {
7881
return create(new OnSubscribeRefCount<T>(this));

src/main/java/rx/observables/GroupedObservable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @param <T>
3434
* the type of the items emitted by the {@code GroupedObservable}
3535
* @see Observable#groupBy(Func1)
36-
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#groupby-and-groupbyuntil">RxJava Uncyclo: groupBy() and groupByUntil()</a>
36+
* @see <a href="http://reactivex.io/documentation/operators/groupby.html">ReactiveX documentation: GroupBy</a>
3737
*/
3838
public class GroupedObservable<K, T> extends Observable<T> {
3939
private final K key;

0 commit comments

Comments
 (0)