@@ -9494,8 +9494,7 @@ public final Flowable<T> doOnTerminate(final Action onTerminate) {
9494
9494
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/elementAt.png" alt="">
9495
9495
* <dl>
9496
9496
* <dt><b>Backpressure:</b></dt>
9497
- * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in an unbounded manner
9498
- * (i.e., no backpressure applied to it).</dd>
9497
+ * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in a bounded manner.</dd>
9499
9498
* <dt><b>Scheduler:</b></dt>
9500
9499
* <dd>{@code elementAt} does not operate by default on a particular {@link Scheduler}.</dd>
9501
9500
* </dl>
@@ -9507,7 +9506,7 @@ public final Flowable<T> doOnTerminate(final Action onTerminate) {
9507
9506
* @see <a href="http://reactivex.io/documentation/operators/elementat.html">ReactiveX operators documentation: ElementAt</a>
9508
9507
*/
9509
9508
@CheckReturnValue
9510
- @BackpressureSupport(BackpressureKind.UNBOUNDED_IN )
9509
+ @BackpressureSupport(BackpressureKind.FULL )
9511
9510
@SchedulerSupport(SchedulerSupport.NONE)
9512
9511
public final Maybe<T> elementAt(long index) {
9513
9512
if (index < 0) {
@@ -9523,8 +9522,7 @@ public final Maybe<T> elementAt(long index) {
9523
9522
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/elementAtOrDefault.png" alt="">
9524
9523
* <dl>
9525
9524
* <dt><b>Backpressure:</b></dt>
9526
- * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in an unbounded manner
9527
- * (i.e., no backpressure applied to it).</dd>
9525
+ * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in a bounded manner.</dd>
9528
9526
* <dt><b>Scheduler:</b></dt>
9529
9527
* <dd>{@code elementAt} does not operate by default on a particular {@link Scheduler}.</dd>
9530
9528
* </dl>
@@ -9541,7 +9539,7 @@ public final Maybe<T> elementAt(long index) {
9541
9539
*/
9542
9540
@CheckReturnValue
9543
9541
@NonNull
9544
- @BackpressureSupport(BackpressureKind.UNBOUNDED_IN )
9542
+ @BackpressureSupport(BackpressureKind.FULL )
9545
9543
@SchedulerSupport(SchedulerSupport.NONE)
9546
9544
public final Single<T> elementAt(long index, T defaultItem) {
9547
9545
if (index < 0) {
@@ -9558,8 +9556,7 @@ public final Single<T> elementAt(long index, T defaultItem) {
9558
9556
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/elementAtOrDefault.png" alt="">
9559
9557
* <dl>
9560
9558
* <dt><b>Backpressure:</b></dt>
9561
- * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in an unbounded manner
9562
- * (i.e., no backpressure applied to it).</dd>
9559
+ * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in a bounded manner.</dd>
9563
9560
* <dt><b>Scheduler:</b></dt>
9564
9561
* <dd>{@code elementAtOrError} does not operate by default on a particular {@link Scheduler}.</dd>
9565
9562
* </dl>
@@ -9573,7 +9570,7 @@ public final Single<T> elementAt(long index, T defaultItem) {
9573
9570
* @see <a href="http://reactivex.io/documentation/operators/elementat.html">ReactiveX operators documentation: ElementAt</a>
9574
9571
*/
9575
9572
@CheckReturnValue
9576
- @BackpressureSupport(BackpressureKind.UNBOUNDED_IN )
9573
+ @BackpressureSupport(BackpressureKind.FULL )
9577
9574
@SchedulerSupport(SchedulerSupport.NONE)
9578
9575
public final Single<T> elementAtOrError(long index) {
9579
9576
if (index < 0) {
@@ -9617,8 +9614,7 @@ public final Flowable<T> filter(Predicate<? super T> predicate) {
9617
9614
* <img width="640" height="237" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/firstElement.m.png" alt="">
9618
9615
* <dl>
9619
9616
* <dt><b>Backpressure:</b></dt>
9620
- * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in an
9621
- * unbounded manner (i.e., without applying backpressure).</dd>
9617
+ * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in a bounded manner.</dd>
9622
9618
* <dt><b>Scheduler:</b></dt>
9623
9619
* <dd>{@code firstElement} does not operate by default on a particular {@link Scheduler}.</dd>
9624
9620
* </dl>
@@ -9627,7 +9623,7 @@ public final Flowable<T> filter(Predicate<? super T> predicate) {
9627
9623
* @see <a href="http://reactivex.io/documentation/operators/first.html">ReactiveX operators documentation: First</a>
9628
9624
*/
9629
9625
@CheckReturnValue
9630
- @BackpressureSupport(BackpressureKind.SPECIAL) // take may trigger UNBOUNDED_IN
9626
+ @BackpressureSupport(BackpressureKind.FULL)
9631
9627
@SchedulerSupport(SchedulerSupport.NONE)
9632
9628
public final Maybe<T> firstElement() {
9633
9629
return elementAt(0);
@@ -9640,8 +9636,7 @@ public final Maybe<T> firstElement() {
9640
9636
* <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/first.s.png" alt="">
9641
9637
* <dl>
9642
9638
* <dt><b>Backpressure:</b></dt>
9643
- * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in an
9644
- * unbounded manner (i.e., without applying backpressure).</dd>
9639
+ * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in a bounded manner.</dd>
9645
9640
* <dt><b>Scheduler:</b></dt>
9646
9641
* <dd>{@code first} does not operate by default on a particular {@link Scheduler}.</dd>
9647
9642
* </dl>
@@ -9653,7 +9648,7 @@ public final Maybe<T> firstElement() {
9653
9648
* @see <a href="http://reactivex.io/documentation/operators/first.html">ReactiveX operators documentation: First</a>
9654
9649
*/
9655
9650
@CheckReturnValue
9656
- @BackpressureSupport(BackpressureKind.SPECIAL) // take may trigger UNBOUNDED_IN
9651
+ @BackpressureSupport(BackpressureKind.FULL)
9657
9652
@SchedulerSupport(SchedulerSupport.NONE)
9658
9653
public final Single<T> first(T defaultItem) {
9659
9654
return elementAt(0, defaultItem);
@@ -9666,8 +9661,7 @@ public final Single<T> first(T defaultItem) {
9666
9661
* <img width="640" height="237" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/firstOrError.png" alt="">
9667
9662
* <dl>
9668
9663
* <dt><b>Backpressure:</b></dt>
9669
- * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in an
9670
- * unbounded manner (i.e., without applying backpressure).</dd>
9664
+ * <dd>The operator honors backpressure from downstream and consumes the source {@code Publisher} in a bounded manner.</dd>
9671
9665
* <dt><b>Scheduler:</b></dt>
9672
9666
* <dd>{@code firstOrError} does not operate by default on a particular {@link Scheduler}.</dd>
9673
9667
* </dl>
@@ -9676,7 +9670,7 @@ public final Single<T> first(T defaultItem) {
9676
9670
* @see <a href="http://reactivex.io/documentation/operators/first.html">ReactiveX operators documentation: First</a>
9677
9671
*/
9678
9672
@CheckReturnValue
9679
- @BackpressureSupport(BackpressureKind.SPECIAL ) // take may trigger UNBOUNDED_IN
9673
+ @BackpressureSupport(BackpressureKind.FULL ) // take may trigger UNBOUNDED_IN
9680
9674
@SchedulerSupport(SchedulerSupport.NONE)
9681
9675
public final Single<T> firstOrError() {
9682
9676
return elementAtOrError(0);
0 commit comments