@@ -1337,7 +1337,7 @@ public Observable<List<T>> buffer(Func0<? extends Observable<? extends Closing>>
1337
1337
* @return
1338
1338
* An {@link Observable} which produces buffers which are created and emitted when the specified {@link Observable}s publish certain objects.
1339
1339
*/
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 ) {
1341
1341
return create (OperationBuffer .buffer (this , bufferOpenings , bufferClosingSelector ));
1342
1342
}
1343
1343
@@ -1520,7 +1520,7 @@ public Observable<List<T>> buffer(long timespan, long timeshift, TimeUnit unit,
1520
1520
* An {@link Observable} which produces connected non-overlapping windows, which are emitted
1521
1521
* when the current {@link Observable} created with the {@link Func0} argument produces a {@link rx.util.Closing} object.
1522
1522
*/
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 ) {
1524
1524
return create (OperationWindow .window (source , closingSelector ));
1525
1525
}
1526
1526
@@ -1542,7 +1542,7 @@ public Observable<Observable<T>> window(Observable<T> source, Func0<Observable<C
1542
1542
* @return
1543
1543
* An {@link Observable} which produces windows which are created and emitted when the specified {@link Observable}s publish certain objects.
1544
1544
*/
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 ) {
1546
1546
return create (OperationWindow .window (source , windowOpenings , closingSelector ));
1547
1547
}
1548
1548
@@ -1559,7 +1559,7 @@ public Observable<Observable<T>> window(Observable<T> source, Observable<Opening
1559
1559
* An {@link Observable} which produces connected non-overlapping windows containing at most
1560
1560
* "count" produced values.
1561
1561
*/
1562
- public Observable <Observable <T >> window (Observable <T > source , int count ) {
1562
+ public Observable <Observable <T >> window (Observable <? extends T > source , int count ) {
1563
1563
return create (OperationWindow .window (source , count ));
1564
1564
}
1565
1565
@@ -1579,7 +1579,7 @@ public Observable<Observable<T>> window(Observable<T> source, int count) {
1579
1579
* An {@link Observable} which produces windows every "skipped" values containing at most
1580
1580
* "count" produced values.
1581
1581
*/
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 ) {
1583
1583
return create (OperationWindow .window (source , count , skip ));
1584
1584
}
1585
1585
@@ -1598,7 +1598,7 @@ public Observable<Observable<T>> window(Observable<T> source, int count, int ski
1598
1598
* @return
1599
1599
* An {@link Observable} which produces connected non-overlapping windows with a fixed duration.
1600
1600
*/
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 ) {
1602
1602
return create (OperationWindow .window (source , timespan , unit ));
1603
1603
}
1604
1604
@@ -1619,7 +1619,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
1619
1619
* @return
1620
1620
* An {@link Observable} which produces connected non-overlapping windows with a fixed duration.
1621
1621
*/
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 ) {
1623
1623
return create (OperationWindow .window (source , timespan , unit , scheduler ));
1624
1624
}
1625
1625
@@ -1642,7 +1642,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
1642
1642
* An {@link Observable} which produces connected non-overlapping windows which are emitted after
1643
1643
* a fixed duration or when the window has reached maximum capacity (which ever occurs first).
1644
1644
*/
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 ) {
1646
1646
return create (OperationWindow .window (source , timespan , unit , count ));
1647
1647
}
1648
1648
@@ -1667,7 +1667,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
1667
1667
* An {@link Observable} which produces connected non-overlapping windows which are emitted after
1668
1668
* a fixed duration or when the window has reached maximum capacity (which ever occurs first).
1669
1669
*/
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 ) {
1671
1671
return create (OperationWindow .window (source , timespan , unit , count , scheduler ));
1672
1672
}
1673
1673
@@ -1689,7 +1689,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, Tim
1689
1689
* An {@link Observable} which produces new windows periodically, and these are emitted after
1690
1690
* a fixed timespan has elapsed.
1691
1691
*/
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 ) {
1693
1693
return create (OperationWindow .window (source , timespan , timeshift , unit ));
1694
1694
}
1695
1695
@@ -1713,7 +1713,7 @@ public Observable<Observable<T>> window(Observable<T> source, long timespan, lon
1713
1713
* An {@link Observable} which produces new windows periodically, and these are emitted after
1714
1714
* a fixed timespan has elapsed.
1715
1715
*/
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 ) {
1717
1717
return create (OperationWindow .window (source , timespan , timeshift , unit , scheduler ));
1718
1718
}
1719
1719
0 commit comments