|
29 | 29 | /** |
30 | 30 | * Replays events (in a configurable bounded or unbounded manner) to current and late {@link Observer}s. |
31 | 31 | * <p> |
32 | | - * <img width="640" height="405" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/S.ReplaySubject.png" alt=""> |
33 | | - * <p> |
34 | 32 | * This subject does not have a public constructor by design; a new empty instance of this |
35 | 33 | * {@code ReplaySubject} can be created via the following {@code create} methods that |
36 | 34 | * allow specifying the retention policy for items: |
37 | 35 | * <ul> |
38 | 36 | * <li>{@link #create()} - creates an empty, unbounded {@code ReplaySubject} that |
39 | | - * caches all items and the terminal event it receives.</li> |
| 37 | + * caches all items and the terminal event it receives. |
| 38 | + * <p> |
| 39 | + * <img width="640" height="299" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ReplaySubject.u.png" alt=""> |
| 40 | + * <p> |
| 41 | + * <img width="640" height="398" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ReplaySubject.ue.png" alt=""> |
| 42 | + * </li> |
40 | 43 | * <li>{@link #create(int)} - creates an empty, unbounded {@code ReplaySubject} |
41 | | - * with a hint about how many <b>total</b> items one expects to retain.</li> |
| 44 | + * with a hint about how many <b>total</b> items one expects to retain. |
| 45 | + * </li> |
42 | 46 | * <li>{@link #createWithSize(int)} - creates an empty, size-bound {@code ReplaySubject} |
43 | | - * that retains at most the given number of the latest item it receives.</li> |
| 47 | + * that retains at most the given number of the latest item it receives. |
| 48 | + * <p> |
| 49 | + * <img width="640" height="420" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ReplaySubject.n.png" alt=""> |
| 50 | + * </li> |
44 | 51 | * <li>{@link #createWithTime(long, TimeUnit, Scheduler)} - creates an empty, time-bound |
45 | | - * {@code ReplaySubject} that retains items no older than the specified time amount.</li> |
| 52 | + * {@code ReplaySubject} that retains items no older than the specified time amount. |
| 53 | + * <p> |
| 54 | + * <img width="640" height="415" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ReplaySubject.t.png" alt=""> |
| 55 | + * </li> |
46 | 56 | * <li>{@link #createWithTimeAndSize(long, TimeUnit, Scheduler, int)} - creates an empty, |
47 | 57 | * time- and size-bound {@code ReplaySubject} that retains at most the given number |
48 | | - * items that are also not older than the specified time amount.</li> |
| 58 | + * items that are also not older than the specified time amount. |
| 59 | + * <p> |
| 60 | + * <img width="640" height="404" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ReplaySubject.nt.png" alt=""> |
| 61 | + * </li> |
49 | 62 | * </ul> |
50 | 63 | * <p> |
51 | 64 | * Since a {@code Subject} is conceptionally derived from the {@code Processor} type in the Reactive Streams specification, |
|
0 commit comments