File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/io/reactivex/subjects Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 34
34
* as parameters to {@link #onSuccess(Object)} and {@link #onError(Throwable)}. Such calls will result in a
35
35
* {@link NullPointerException} being thrown and the subject's state is not changed.
36
36
* <p>
37
- * Since a {@code SingleSubject} is a {@link io.reactivex.Maybe }, calling {@code onSuccess}, {@code onError}
38
- * or {@code onComplete} will move this {@code SingleSubject} into its terminal state atomically.
37
+ * Since a {@code SingleSubject} is a {@link io.reactivex.Single }, calling {@code onSuccess} or {@code onError}
38
+ * will move this {@code SingleSubject} into its terminal state atomically.
39
39
* <p>
40
40
* All methods are thread safe. Calling {@link #onSuccess(Object)} multiple
41
41
* times has no effect. Calling {@link #onError(Throwable)} multiple times relays the {@code Throwable} to
55
55
* <dl>
56
56
* <dt><b>Scheduler:</b></dt>
57
57
* <dd>{@code SingleSubject} does not operate by default on a particular {@link io.reactivex.Scheduler} and
58
- * the {@code SingleObserver}s get notified on the thread where the terminating {@code onSuccess}, {@code onError}
59
- * or {@code onComplete} methods were invoked.</dd>
58
+ * the {@code SingleObserver}s get notified on the thread where the terminating {@code onSuccess} or {@code onError}
59
+ * methods were invoked.</dd>
60
60
* <dt><b>Error handling:</b></dt>
61
61
* <dd>When the {@link #onError(Throwable)} is called, the {@code SingleSubject} enters into a terminal state
62
62
* and emits the same {@code Throwable} instance to the last set of {@code SingleObserver}s. During this emission,
You can’t perform that action at this time.
0 commit comments