Skip to content

Commit c593458

Browse files
Merge pull request #910 from benjchristensen/groupBy-selector
Remove groupBy with selector.
2 parents 9cb6d81 + 9c50bdc commit c593458

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

rxjava-core/src/main/java/rx/Observable.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4589,30 +4589,6 @@ public final <K> Observable<GroupedObservable<K, T>> groupBy(final Func1<? super
45894589
return lift(new OperatorGroupBy<K, T>(keySelector));
45904590
}
45914591

4592-
/**
4593-
* Groups the items emitted by an Observable according to a specified criterion, and emits these grouped
4594-
* items, transformed by a selector, within {@link GroupedObservable}s, one {@code GroupedObservable} per
4595-
* group.
4596-
* <p>
4597-
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/groupBy.png">
4598-
*
4599-
* @param keySelector
4600-
* a function that extracts the key from an item
4601-
* @param elementSelector
4602-
* a function to map a source item to an item emitted by a {@link GroupedObservable}
4603-
* @param <K>
4604-
* the key type
4605-
* @param <R>
4606-
* the type of items emitted by the resulting {@link GroupedObservable}s
4607-
* @return an Observable that emits {@link GroupedObservable}s, each of which corresponds to a unique key
4608-
* value and emits transformed items corresponding to items from the source Observable that share
4609-
* that key value
4610-
* @see <a href="https://github.com/Netflix/RxJava/wiki/Transforming-Observables#wiki-groupby-and-groupbyuntil">RxJava Wiki: groupBy</a>
4611-
*/
4612-
public final <K, R> Observable<GroupedObservable<K, R>> groupBy(final Func1<? super T, ? extends K> keySelector, final Func1<? super T, ? extends R> elementSelector) {
4613-
return null;
4614-
}
4615-
46164592
/**
46174593
* Groups the items emitted by an Observable according to a specified key selector function until the
46184594
* duration Observable expires for the key.

0 commit comments

Comments
 (0)