| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| array | back to summary |
|---|---|
| pack-priv final T[] array | |
| OnSubscribeFromArray | back to summary |
|---|---|
| public OnSubscribeFromArray(T[] array) | |
| call | back to summary |
|---|---|
| public void call(Subscriber<? super T> child) Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T[] | |
| pack-priv final Subscriber | |
| pack-priv int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | request(long
the maximum number of items you want this Producer to produce, or n)Long.MAX_VALUE if you
want the Producer to produce items at its own paceImplements rx. |
| pack-priv void |
| array | back to summary |
|---|---|
| pack-priv final T[] array | |
| child | back to summary |
|---|---|
| pack-priv final Subscriber<? super T> child | |
| index | back to summary |
|---|---|
| pack-priv int index | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| FromArrayProducer | back to summary |
|---|---|
| public FromArrayProducer(Subscriber<? super T> child, T[] array) | |
| fastPath | back to summary |
|---|---|
| pack-priv void fastPath() | |
| request | back to summary |
|---|---|
| public void request(long n) Implements rx. Doc from rx. Request a certain maximum number of items from this Producer. This is a way of requesting backpressure.
To disable backpressure, pass
Requests are additive but if a sequence of requests totals more than request(100); request(Long.MAX_VALUE-1);
| |
| slowPath | back to summary |
|---|---|
| pack-priv void slowPath(long r) | |