| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | OperatorElementAt.InnerProducer
A producer that wraps another Producer and requests Long.MAX_VALUE when the first positive request() call comes in. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T | |
| pack-priv final boolean | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber |
| defaultValue | back to summary |
|---|---|
| pack-priv final T defaultValue | |
| hasDefault | back to summary |
|---|---|
| pack-priv final boolean hasDefault | |
| index | back to summary |
|---|---|
| pack-priv final int index | |
| OperatorElementAt | back to summary |
|---|---|
| public OperatorElementAt(int index) | |
| OperatorElementAt | back to summary |
|---|---|
| public OperatorElementAt(int index, T defaultValue) | |
| OperatorElementAt | back to summary |
|---|---|
| private OperatorElementAt(int index, T defaultValue, boolean hasDefault) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Producer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| actual | back to summary |
|---|---|
| pack-priv final Producer actual | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| InnerProducer | back to summary |
|---|---|
| public InnerProducer(Producer actual) | |
| 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);
| |