Package | Description |
---|---|
rx.subjects |
Classes extending the Observable base reactive class and implementing
the Observer interface at the same time (aka hot Observables).
|
Modifier and Type | Method and Description |
---|---|
static <T> UnicastSubject<T> |
UnicastSubject.create()
Constructs an empty UnicastSubject instance with the default capacity hint of 16 elements.
|
static <T> UnicastSubject<T> |
UnicastSubject.create(int capacityHint)
Constructs an empty UnicastSubject instance with a capacity hint.
|
static <T> UnicastSubject<T> |
UnicastSubject.create(int capacityHint,
Action0 onTerminated)
Constructs an empty UnicastSubject instance with a capacity hint and
an Action0 instance to call if the subject reaches its terminal state
or the single Subscriber unsubscribes mid-sequence.
|
Copyright © 2018. All rights reserved.