Skip to content

Commit

Permalink
Merge pull request #910 from benjchristensen/groupBy-selector
Browse files Browse the repository at this point in the history
Remove groupBy with selector.
  • Loading branch information
benjchristensen committed Feb 20, 2014
2 parents 9cb6d81 + 9c50bdc commit c593458
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions rxjava-core/src/main/java/rx/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -4589,30 +4589,6 @@ public final <K> Observable<GroupedObservable<K, T>> groupBy(final Func1<? super
return lift(new OperatorGroupBy<K, T>(keySelector));
}

/**
* Groups the items emitted by an Observable according to a specified criterion, and emits these grouped
* items, transformed by a selector, within {@link GroupedObservable}s, one {@code GroupedObservable} per
* group.
* <p>
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/groupBy.png">
*
* @param keySelector
* a function that extracts the key from an item
* @param elementSelector
* a function to map a source item to an item emitted by a {@link GroupedObservable}
* @param <K>
* the key type
* @param <R>
* the type of items emitted by the resulting {@link GroupedObservable}s
* @return an Observable that emits {@link GroupedObservable}s, each of which corresponds to a unique key
* value and emits transformed items corresponding to items from the source Observable that share
* that key value
* @see <a href="https://github.com/Netflix/RxJava/wiki/Transforming-Observables#wiki-groupby-and-groupbyuntil">RxJava Wiki: groupBy</a>
*/
public final <K, R> Observable<GroupedObservable<K, R>> groupBy(final Func1<? super T, ? extends K> keySelector, final Func1<? super T, ? extends R> elementSelector) {
return null;
}

/**
* Groups the items emitted by an Observable according to a specified key selector function until the
* duration Observable expires for the key.
Expand Down

0 comments on commit c593458

Please sign in to comment.