@@ -184,20 +184,25 @@ public void call(Subscriber<? super R> o) {
184
184
/**
185
185
* Compose Observables together with a function.
186
186
*
187
- * This works on the Observables themselves whereas `lift` works on the internal Subscriber/Observers.
187
+ * This works on the Observables themselves whereas {@link #lift} works on the internal
188
+ * Subscriber/Observers.
188
189
*
189
- * Lift should be used when creating an operator that acts on the underlying data.
190
- * Compose should be used when acting on the observable itself, such as composing multiple operators.
190
+ * Use {@code lift} if you are creating an operator that acts on the underlying data. Use {@code compose} if
191
+ * you are acting on the observable itself, for instance by composing multiple operators.
191
192
*
193
+ * @warn param transformer not described
192
194
* @param transformer
193
195
* @return
196
+ * @since 0.20
194
197
*/
195
198
public <R> Observable<R> compose(Transformer<T, R> transformer) {
196
199
return transformer.call(this);
197
200
}
198
201
199
202
/**
200
- * Transformer function for `compose`
203
+ * Transformer function used by {@link #compose}.
204
+ * @warn more complete description needed
205
+ * @since 0.20
201
206
*/
202
207
public static interface Transformer<T, R> extends Func1<Observable<T>, Observable<R>> {
203
208
// cover for generics insanity
@@ -4989,6 +4994,7 @@ public final void forEach(final Action1<? super T> onNext, final Action1<Throwab
4989
4994
* key value
4990
4995
* @see <a href="https://github.com/Netflix/RxJava/wiki/Transforming-Observables#groupby-and-groupbyuntil">RxJava wiki: groupBy</a>
4991
4996
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.groupby.aspx">MSDN: Observable.GroupBy</a>
4997
+ * @since 0.20
4992
4998
*/
4993
4999
public final <K, R> Observable<GroupedObservable<K, R>> groupBy(final Func1<? super T, ? extends K> keySelector, final Func1<? super T, ? extends R> elementSelector) {
4994
5000
return lift(new OperatorGroupBy<T, K, R>(keySelector, elementSelector));
0 commit comments