| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | OnSubscribeFlattenIterable.OnSubscribeScalarFlattenIterable<
the scalar's value type T, the result value type R>A custom flattening operator that works from a scalar value and computes the iterable during subscription time. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Func1 | |
| pack-priv final int | |
| pack-priv final Observable |
| Access | Constructor and Description |
|---|---|
| protected | OnSubscribeFlattenIterable(Observable<? extends T> source, Func1<? super T, ? extends Iterable<? extends R>> mapper, int prefetch)
Protected: use createFrom to handle source-dependent optimizations. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static <T, R> Observable | createFrom(Observable<? extends T> source, Func1<? super T, ? extends Iterable<? extends R>> mapper, int prefetch)
|
| mapper | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends Iterable<? extends R>> mapper | |
| prefetch | back to summary |
|---|---|
| pack-priv final int prefetch | |
| source | back to summary |
|---|---|
| pack-priv final Observable<? extends T> source | |
| OnSubscribeFlattenIterable | back to summary |
|---|---|
| protected OnSubscribeFlattenIterable(Observable<? extends T> source, Func1<? super T, ? extends Iterable<? extends R>> mapper, int prefetch) Protected: use createFrom to handle source-dependent optimizations. | |
| call | back to summary |
|---|---|
| public void call(Subscriber<? super R> t) Implements rx.
| |
| createFrom | back to summary |
|---|---|
| public static <T, R> Observable | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Iterator | |
| pack-priv final Subscriber | |
| pack-priv volatile boolean | |
| pack-priv final AtomicReference | |
| pack-priv final long | |
| pack-priv final Func1 | |
| pack-priv long | |
| pack-priv final Queue | |
| pack-priv final AtomicLong | |
| pack-priv final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public | FlattenIterableSubscriber(Subscriber<? super R> actual, Func1<? super T, ? extends Iterable<? extends R>> mapper, int prefetch)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv void | |
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| pack-priv void |
| active | back to summary |
|---|---|
| pack-priv Iterator<? extends R> active | |
| actual | back to summary |
|---|---|
| pack-priv final Subscriber<? super R> actual | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| error | back to summary |
|---|---|
| pack-priv final AtomicReference<Throwable> error | |
| limit | back to summary |
|---|---|
| pack-priv final long limit | |
| mapper | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends Iterable<? extends R>> mapper | |
| produced | back to summary |
|---|---|
| pack-priv long produced | |
| queue | back to summary |
|---|---|
| pack-priv final Queue<Object> queue | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested Hides rx. | |
| wip | back to summary |
|---|---|
| pack-priv final AtomicInteger wip | |
| FlattenIterableSubscriber | back to summary |
|---|---|
| public FlattenIterableSubscriber(Subscriber<? super R> actual, Func1<? super T, ? extends Iterable<? extends R>> mapper, int prefetch) | |
| checkTerminated | back to summary |
|---|---|
| pack-priv boolean checkTerminated(boolean d, boolean empty, Subscriber<?> a, Queue<?> q) | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| requestMore | back to summary |
|---|---|
| pack-priv void requestMore(long n) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Func1 | |
| pack-priv final T |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| mapper | back to summary |
|---|---|
| pack-priv final Func1<? super T, ? extends Iterable<? extends R>> mapper | |
| value | back to summary |
|---|---|
| pack-priv final T value | |
| OnSubscribeScalarFlattenIterable | back to summary |
|---|---|
| public OnSubscribeScalarFlattenIterable(T value, Func1<? super T, ? extends Iterable<? extends R>> mapper) | |
| call | back to summary |
|---|---|
| public void call(Subscriber<? super R> t) Implements rx.
| |