@@ -2203,6 +2203,7 @@ public Observable<T> throttleLast(long intervalDuration, TimeUnit unit, Schedule
2203
2203
* @return an Observable that emits timestamped items from the source
2204
2204
* Observable
2205
2205
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#timestamp">RxJava Wiki: timestamp()</a>
2206
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229003.aspx">MSDN: Observable.Timestamp</a>
2206
2207
*/
2207
2208
public Observable <Timestamped <T >> timestamp () {
2208
2209
return create (OperationTimestamp .timestamp (this ));
@@ -2211,11 +2212,14 @@ public Observable<Timestamped<T>> timestamp() {
2211
2212
/**
2212
2213
* Wraps each item emitted by a source Observable in a {@link Timestamped}
2213
2214
* object with timestamps provided by the given Scheduler.
2215
+ * <p>
2216
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timestamp.s.png">
2214
2217
*
2215
2218
* @param scheduler the {@link Scheduler} to use as a time source.
2216
2219
* @return an Observable that emits timestamped items from the source
2217
2220
* Observable with timestamps provided by the given Scheduler
2218
- * @see <a href='http://msdn.microsoft.com/en-us/library/hh229003.aspx'>MSDN: Observable.Timestamp</a>
2221
+ * @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#timestamp">RxJava Wiki: timestamp()</a>
2222
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229003.aspx">MSDN: Observable.Timestamp</a>
2219
2223
*/
2220
2224
public Observable <Timestamped <T >> timestamp (Scheduler scheduler ) {
2221
2225
return create (OperationTimestamp .timestamp (this , scheduler ));
@@ -5115,6 +5119,8 @@ public <K> Observable<GroupedObservable<K, T>> groupBy(final Func1<? super T, ?
5115
5119
5116
5120
/**
5117
5121
* Return an Observable which correlates two sequences when they overlap and groups the results.
5122
+ * <p>
5123
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/groupJoin.png">
5118
5124
*
5119
5125
* @param right the other Observable to correlate values of this observable to
5120
5126
* @param leftDuration function that returns an Observable which indicates the duration of
@@ -5126,6 +5132,7 @@ public <K> Observable<GroupedObservable<K, T>> groupBy(final Func1<? super T, ?
5126
5132
* @return an Observable that emits grouped values based on overlapping durations from this and
5127
5133
* another Observable
5128
5134
*
5135
+ * @see <a href="https://github.com/Netflix/RxJava/wiki/Combining-Observables#join-and-groupjoin">RxJava Wiiki: groupJoin</a>
5129
5136
* @see <a href="http://msdn.microsoft.com/en-us/library/hh244235.aspx">MSDN: Observable.GroupJoin</a>
5130
5137
*/
5131
5138
public <T2 , D1 , D2 , R > Observable <R > groupJoin (Observable <T2 > right , Func1 <? super T , ? extends Observable <D1 >> leftDuration ,
@@ -6165,42 +6172,56 @@ public <K, V> Observable<Map<K, Collection<V>>> toMultimap(Func1<? super T, ? ex
6165
6172
}
6166
6173
6167
6174
/**
6168
- * Return an Observable that skips elements from the source Observable until the secondary
6169
- * observable emits an element.
6175
+ * Return an Observable that skips elements from the source Observable until
6176
+ * the secondary Observable emits an element.
6170
6177
* <p>
6171
6178
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/skipUntil.png">
6172
6179
*
6173
6180
* @param other the other Observable that has to emit an element before this
6174
6181
* Observable's elements are relayed
6175
- * @return an Observable that skips elements from the source Observable until the secondary
6176
- * observable emits an element.
6182
+ * @return an Observable that skips elements from the source Observable
6183
+ * until the secondary Observable emits an element.
6177
6184
* @see <a href="https://github.com/Netflix/RxJava/wiki/Filtering-Observables#skipuntil">RxJava Wiki: skipUntil()</a>
6178
- * @see <a href=' http://msdn.microsoft.com/en-us/library/hh229358.aspx' >MSDN: Observable.SkipUntil</a>
6185
+ * @see <a href=" http://msdn.microsoft.com/en-us/library/hh229358.aspx" >MSDN: Observable.SkipUntil</a>
6179
6186
*/
6180
6187
public <U > Observable <T > skipUntil (Observable <U > other ) {
6181
6188
return create (new OperationSkipUntil <T , U >(this , other ));
6182
6189
}
6183
-
6190
+
6184
6191
/**
6185
- * Groups the elements of an observable sequence according to a specified key selector function until the duration observable expires for the key.
6186
- * @param keySelector A function to extract the key for each element.
6187
- * @param durationSelector A function to signal the expiration of a group.
6188
- * @return A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
6189
- *
6190
- * @see <a href='http://msdn.microsoft.com/en-us/library/hh211932.aspx'>MSDN: Observable.GroupByUntil</a>
6192
+ * Groups the items emitted by an Observable according to a specified key
6193
+ * selector function until the duration Observable expires for the key.
6194
+ * <p>
6195
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/groupByUntil.png">
6196
+ *
6197
+ * @param keySelector a function to extract the key for each item
6198
+ * @param durationSelector a function to signal the expiration of a group
6199
+ * @return a sequence of Observable groups, each of which corresponds to a
6200
+ * unique key value, containing all items that share that same
6201
+ * key value
6202
+ * @see <a href="https://github.com/Netflix/RxJava/wiki/Transforming-Observables#groupby-and-groupbyuntil">RxJava Wiki: groupByUntil()</a>
6203
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh211932.aspx">MSDN: Observable.GroupByUntil</a>
6191
6204
*/
6192
6205
public <TKey , TDuration > Observable <GroupedObservable <TKey , T >> groupByUntil (Func1 <? super T , ? extends TKey > keySelector , Func1 <? super GroupedObservable <TKey , T >, ? extends Observable <TDuration >> durationSelector ) {
6193
6206
return groupByUntil (keySelector , Functions .<T >identity (), durationSelector );
6194
6207
}
6195
6208
6196
6209
/**
6197
- * Groups the elements of an observable sequence according to a specified key and value selector function until the duration observable expires for the key.
6198
- * @param keySelector A function to extract the key for each element.
6199
- * @param valueSelector A function to map each source element to an element in an onbservable group.
6200
- * @param durationSelector A function to signal the expiration of a group.
6201
- * @return A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
6202
- *
6203
- * @see <a href='http://msdn.microsoft.com/en-us/library/hh229433.aspx'>MSDN: Observable.GroupByUntil</a>
6210
+ * Groups the items emitted by an Observable according to specified key and
6211
+ * value selector functions until the duration Observable expires for the
6212
+ * key.
6213
+ * <p>
6214
+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/groupByUntil.png">
6215
+ *
6216
+ * @param keySelector a function to extract the key for each item
6217
+ * @param valueSelector a function to map each source element to an item
6218
+ * emitted by an Observable group
6219
+ * @param durationSelector a function to signal the expiration of a group
6220
+ * @return a sequence of Observable groups, each of which corresponds to a
6221
+ * unique key value, containing all items that share that same key
6222
+ * value
6223
+ * @see <a href="https://github.com/Netflix/RxJava/wiki/Transforming-Observables#groupby-and-groupbyuntil">RxJava Wiki: groupByUntil()</a>
6224
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229433.aspx">MSDN: Observable.GroupByUntil</a>
6204
6225
*/
6205
6226
public <TKey , TValue , TDuration > Observable <GroupedObservable <TKey , TValue >> groupByUntil (Func1 <? super T , ? extends TKey > keySelector , Func1 <? super T , ? extends TValue > valueSelector , Func1 <? super GroupedObservable <TKey , TValue >, ? extends Observable <TDuration >> durationSelector ) {
6206
6227
return create (new OperationGroupByUntil <T , TKey , TValue , TDuration >(this , keySelector , valueSelector , durationSelector ));
0 commit comments