@@ -1337,7 +1337,7 @@ public Observable<List<T>> buffer(Func0<? extends Observable<? extends Closing>>
13371337 * @return
13381338 * An {@link Observable} which produces buffers which are created and emitted when the specified {@link Observable}s publish certain objects.
13391339 */
1340- public Observable <List <T >> buffer (Observable <? extends Opening > bufferOpenings , Func1 <? super Opening , ? extends Observable <? extends Closing >> bufferClosingSelector ) {
1340+ public Observable <List <T >> buffer (Observable <? extends Opening > bufferOpenings , Func1 <Opening , ? extends Observable <? extends Closing >> bufferClosingSelector ) {
13411341 return create (OperationBuffer .buffer (this , bufferOpenings , bufferClosingSelector ));
13421342 }
13431343
@@ -1520,7 +1520,7 @@ public Observable<List<T>> buffer(long timespan, long timeshift, TimeUnit unit,
15201520 * An {@link Observable} which produces connected non-overlapping windows, which are emitted
15211521 * when the current {@link Observable} created with the {@link Func0} argument produces a {@link rx.util.Closing} object.
15221522 */
1523- public Observable <Observable <T >> window (Observable <T > source , Func0 <Observable <Closing >> closingSelector ) {
1523+ public Observable <Observable <T >> window (Observable <? extends T > source , Func0 <? extends Observable <? extends Closing >> closingSelector ) {
15241524 return create (OperationWindow .window (source , closingSelector ));
15251525 }
15261526
@@ -1542,7 +1542,7 @@ public Observable<Observable<T>> window(Observable<T> source, Func0<Observable<C
15421542 * @return
15431543 * An {@link Observable} which produces windows which are created and emitted when the specified {@link Observable}s publish certain objects.
15441544 */
1545- public Observable <Observable <T >> window (Observable <T > source , Observable <Opening > windowOpenings , Func1 <Opening , Observable <Closing >> closingSelector ) {
1545+ public Observable <Observable <T >> window (Observable <? extends T > source , Observable <? extends Opening > windowOpenings , Func1 <Opening , ? extends Observable <? extends Closing >> closingSelector ) {
15461546 return create (OperationWindow .window (source , windowOpenings , closingSelector ));
15471547 }
15481548
@@ -1559,7 +1559,7 @@ public Observable<Observable<T>> window(Observable<T> source, Observable<Opening
15591559 * An {@link Observable} which produces connected non-overlapping windows containing at most
15601560 * "count" produced values.
15611561 */
1562- public Observable <Observable <T >> window (Observable <T > source , int count ) {
1562+ public Observable <Observable <T >> window (Observable <? extends T > source , int count ) {
15631563 return create (OperationWindow .window (source , count ));
15641564 }
15651565
@@ -1579,7 +1579,7 @@ public Observable<Observable<T>> window(Observable<T> source, int count) {
15791579 * An {@link Observable} which produces windows every "skipped" values containing at most
15801580 * "count" produced values.
15811581 */
1582- public Observable <Observable <T >> window (Observable <T > source , int count , int skip ) {
1582+ public Observable <Observable <T >> window (Observable <? extends T > source , int count , int skip ) {
15831583 return create (OperationWindow .window (source , count , skip ));
15841584 }
15851585
@@ -1598,7 +1598,7 @@ public Observable<Observable<T>> window(Observable<T> source, int count, int ski
15981598 * @return
15991599 * An {@link Observable} which produces connected non-overlapping windows with a fixed duration.
16001600 */
1601- public Observable <Observable <T >> window (Observable <T > source , long timespan , TimeUnit unit ) {
1601+ public Observable <Observable <T >> window (Observable <? extends T > source , long timespan , TimeUnit unit ) {
16021602 return create (OperationWindow .window (source , timespan , unit ));
16031603 }
16041604
@@ -1619,7 +1619,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
16191619 * @return
16201620 * An {@link Observable} which produces connected non-overlapping windows with a fixed duration.
16211621 */
1622- public Observable <Observable <T >> window (Observable <T > source , long timespan , TimeUnit unit , Scheduler scheduler ) {
1622+ public Observable <Observable <T >> window (Observable <? extends T > source , long timespan , TimeUnit unit , Scheduler scheduler ) {
16231623 return create (OperationWindow .window (source , timespan , unit , scheduler ));
16241624 }
16251625
@@ -1642,7 +1642,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
16421642 * An {@link Observable} which produces connected non-overlapping windows which are emitted after
16431643 * a fixed duration or when the window has reached maximum capacity (which ever occurs first).
16441644 */
1645- public Observable <Observable <T >> window (Observable <T > source , long timespan , TimeUnit unit , int count ) {
1645+ public Observable <Observable <T >> window (Observable <? extends T > source , long timespan , TimeUnit unit , int count ) {
16461646 return create (OperationWindow .window (source , timespan , unit , count ));
16471647 }
16481648
@@ -1667,7 +1667,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
16671667 * An {@link Observable} which produces connected non-overlapping windows which are emitted after
16681668 * a fixed duration or when the window has reached maximum capacity (which ever occurs first).
16691669 */
1670- public Observable <Observable <T >> window (Observable <T > source , long timespan , TimeUnit unit , int count , Scheduler scheduler ) {
1670+ public Observable <Observable <T >> window (Observable <? extends T > source , long timespan , TimeUnit unit , int count , Scheduler scheduler ) {
16711671 return create (OperationWindow .window (source , timespan , unit , count , scheduler ));
16721672 }
16731673
@@ -1689,7 +1689,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
16891689 * An {@link Observable} which produces new windows periodically, and these are emitted after
16901690 * a fixed timespan has elapsed.
16911691 */
1692- public Observable <Observable <T >> window (Observable <T > source , long timespan , long timeshift , TimeUnit unit ) {
1692+ public Observable <Observable <T >> window (Observable <? extends T > source , long timespan , long timeshift , TimeUnit unit ) {
16931693 return create (OperationWindow .window (source , timespan , timeshift , unit ));
16941694 }
16951695
@@ -1713,7 +1713,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, lon
17131713 * An {@link Observable} which produces new windows periodically, and these are emitted after
17141714 * a fixed timespan has elapsed.
17151715 */
1716- public Observable <Observable <T >> window (Observable <T > source , long timespan , long timeshift , TimeUnit unit , Scheduler scheduler ) {
1716+ public Observable <Observable <T >> window (Observable <? extends T > source , long timespan , long timeshift , TimeUnit unit , Scheduler scheduler ) {
17171717 return create (OperationWindow .window (source , timespan , timeshift , unit , scheduler ));
17181718 }
17191719
0 commit comments