-
Notifications
You must be signed in to change notification settings - Fork 7.6k
/
Copy pathpackage-info.java
58 lines (57 loc) · 2.75 KB
/
package-info.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Classes representing so-called hot sources, aka subjects, that implement a base reactive class and
* the respective consumer type at once to allow forms of multicasting events to multiple
* consumers as well as consuming another base reactive type of their kind.
* <p>
* Available subject classes with their respective base classes and consumer interfaces:
* <br>
* <table border="1" style="border-collapse: collapse;" summary="The available subject classes with their respective base classes and consumer interfaces.">
* <tr><td><b>Subject type</b></td><td><b>Base class</b></td><td><b>Consumer interface</b></td></tr>
* <tr>
* <td>{@link io.reactivex.subjects.Subject Subject}
* <br> {@link io.reactivex.subjects.AsyncSubject AsyncSubject}
* <br> {@link io.reactivex.subjects.BehaviorSubject BehaviorSubject}
* <br> {@link io.reactivex.subjects.PublishSubject PublishSubject}
* <br> {@link io.reactivex.subjects.ReplaySubject ReplaySubject}
* <br> {@link io.reactivex.subjects.UnicastSubject UnicastSubjectSubject}
* </td>
* <td>{@link io.reactivex.Observable Observable}</td>
* <td>{@link io.reactivex.Observer Observer}</td>
* </tr>
* <tr>
* <td>{@link io.reactivex.subjects.SingleSubject SingleSubject}</td>
* <td>{@link io.reactivex.Single Single}</td>
* <td>{@link io.reactivex.SingleObserver SingleObserver}</td>
* </tr>
* <tr>
* <td>{@link io.reactivex.subjects.MaybeSubject MaybeSubject}</td>
* <td>{@link io.reactivex.Maybe Maybe}</td>
* <td>{@link io.reactivex.MaybeObserver MaybeObserver}</td>
* </tr>
* <tr>
* <td>{@link io.reactivex.subjects.CompletableSubject CompletableSubject}</td>
* <td>{@link io.reactivex.Completable Completable}</td>
* <td>{@link io.reactivex.CompletableObserver CompletableObserver}</td>
* </tr>
* </table>
* <p>
* The backpressure-aware variants of the {@code Subject} class are called
* {@link org.reactivestreams.Processor}s and reside in the {@code io.reactivex.processors} package.
* @see io.reactivex.processors
*/
package io.reactivex.subjects;