io.reactivex.subjects.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxjava Show documentation
Show all versions of rxjava Show documentation
Reactive Extensions for Java
The newest version!
/**
* 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.
*
* Available subject classes with their respective base classes and consumer interfaces:
*
*
* Subject type Base class Consumer interface
*
* {@link io.reactivex.subjects.Subject Subject}
*
{@link io.reactivex.subjects.AsyncSubject AsyncSubject}
*
{@link io.reactivex.subjects.BehaviorSubject BehaviorSubject}
*
{@link io.reactivex.subjects.PublishSubject PublishSubject}
*
{@link io.reactivex.subjects.ReplaySubject ReplaySubject}
*
{@link io.reactivex.subjects.UnicastSubject UnicastSubject}
*
* {@link io.reactivex.Observable Observable}
* {@link io.reactivex.Observer Observer}
*
*
* {@link io.reactivex.subjects.SingleSubject SingleSubject}
* {@link io.reactivex.Single Single}
* {@link io.reactivex.SingleObserver SingleObserver}
*
*
* {@link io.reactivex.subjects.MaybeSubject MaybeSubject}
* {@link io.reactivex.Maybe Maybe}
* {@link io.reactivex.MaybeObserver MaybeObserver}
*
*
* {@link io.reactivex.subjects.CompletableSubject CompletableSubject}
* {@link io.reactivex.Completable Completable}
* {@link io.reactivex.CompletableObserver CompletableObserver}
*
*
*
* 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;