RxJava



Package rx.operators

Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.

See:
          Description

Interface Summary
ChunkedOperation.ChunkCreator This interface defines a way which specifies when to create a new internal ChunkedOperation.Chunk object.
 

Class Summary
ChunkedOperation The base class for operations that break observables into "chunks".
ChunkedOperation.Chunk<T,C> This class represents a single chunk: A sequence of recorded values.
ChunkedOperation.ChunkObserver<T,C> This ChunkedOperation.ChunkObserver object can be constructed using a ChunkedOperation.Chunks object, a Observer object, and a ChunkedOperation.ChunkCreator object.
ChunkedOperation.Chunks<T,C> This class represents an object which contains and manages multiple ChunkedOperation.Chunk objects.
ChunkedOperation.NonOverlappingChunks<T,C> This class is an extension on the ChunkedOperation.Chunks class which only supports one active (not yet emitted) internal ChunkedOperation.Chunks object.
ChunkedOperation.ObservableBasedMultiChunkCreator<T,C> This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk whenever it receives an object from the provided chunkOpenings Observable, and closes the corresponding ChunkedOperation.Chunk object when it receives an object from the provided Observable created with the chunkClosingSelector Func1.
ChunkedOperation.ObservableBasedSingleChunkCreator<T,C> This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk whenever it receives an object from the provided Observable created with the chunkClosingSelector Func0.
ChunkedOperation.OverlappingChunks<T,C> This class is an extension on the ChunkedOperation.Chunks class which actually has no additional behavior than its super class.
ChunkedOperation.SingleChunkCreator<T,C> This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk when it is initialized, but provides no additional functionality.
ChunkedOperation.SizeBasedChunks<T,C> This class is an extension on the ChunkedOperation.Chunks class.
ChunkedOperation.SkippingChunkCreator<T,C> This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk every time after it has seen a certain amount of elements.
ChunkedOperation.TimeAndSizeBasedChunks<T,C> This class is an extension on the ChunkedOperation.Chunks class.
ChunkedOperation.TimeBasedChunkCreator<T,C> This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk every time after a fixed period of time has elapsed.
ChunkedOperation.TimeBasedChunks<T,C> This class is an extension on the ChunkedOperation.Chunks class.
OperationAll Returns an Observable that emits a Boolean that indicates whether all items emitted by an Observable satisfy a condition.
OperationAmb Propagates the observable sequence that reacts first.
OperationAny Returns an Observable that emits true if any element of an observable sequence satisfies a condition, otherwise false.
OperationAverage A few operators for implementing the averaging operation.
OperationBuffer  
OperationBuffer.Buffer<T> This class represents a single buffer: A sequence of recorded values.
OperationCache This method has similar behavior to Observable.replay() except that this auto-subscribes to the source Observable rather than returning a connectable Observable.
OperationCast Converts the elements of an observable sequence to the specified type.
OperationCombineLatest Returns an Observable that combines the emissions of multiple source observables.
OperationConcat Returns an Observable that emits the items emitted by two or more Observables, one after the other.
OperationDebounce This operation is used to filter out bursts of events.
OperationDefaultIfEmpty Returns the elements of the specified sequence or the specified default value in a singleton sequence if the sequence is empty.
OperationDefer Do not create the Observable until an Observer subscribes; create a fresh Observable on each subscription.
OperationDematerialize Reverses the effect of OperationMaterialize by transforming the Notification objects emitted by a source Observable into the items or notifications they represent.
OperationDistinct Returns an Observable that emits all distinct items emitted by the source.
OperationDistinctUntilChanged Returns an Observable that emits all sequentially distinct items emitted by the source.
OperationDoOnEach Converts the elements of an observable sequence to the specified type.
OperationElementAt Returns the element at a specified index in a sequence.
OperationFilter<T> Filters an Observable by discarding any items it emits that do not meet some test.
OperationFinally Registers an action to be called when an Observable invokes onComplete or onError.
OperationFirstOrDefault Returns an Observable that emits the first item emitted by the source Observable, or a default value if the source emits nothing.
OperationGroupBy Groups the items emitted by an Observable according to a specified criterion, and emits these grouped items as Observables, one Observable per group.
OperationInterval Returns an observable sequence that produces a value after each period.
OperationLast Emit an Observable with the last emitted item or onError(new IllegalArgumentException("Sequence contains no elements")) if no elements received.
OperationMap Applies a function of your choosing to every item emitted by an Observable, and returns this transformation as a new Observable.
OperationMaterialize Turns all of the notifications from an Observable into onNext emissions, and marks them with their original notification types within Notification objects.
OperationMerge Flattens a list of Observables into one Observable sequence, without any transformation.
OperationMergeDelayError This behaves like OperationMerge except that if any of the merged Observables notify of an error via onError, mergeDelayError will refrain from propagating that error notification until all of the merged Observables have finished emitting items.
OperationMinMax Returns the minimum element in an observable sequence.
OperationMostRecent Returns an Iterable that always returns the item most recently emitted by an Observable, or a seed value if no item has yet been emitted.
OperationMulticast  
OperationNext Returns an Iterable that blocks until the Observable emits another item, then returns that item.
OperationObserveOn Asynchronously notify Observers on the specified Scheduler.
OperationOnErrorResumeNextViaFunction<T> Instruct an Observable to pass control to another Observable (the return value of a function) rather than invoking onError if it encounters an error.
OperationOnErrorResumeNextViaObservable<T> Instruct an Observable to pass control to another Observable rather than invoking onError if it encounters an error.
OperationOnErrorReturn<T> Instruct an Observable to emit a particular item to its Observer's onNext method rather than invoking onError if it encounters an error.
OperationOnExceptionResumeNextViaObservable<T> Instruct an Observable to pass control to another Observable rather than invoking onError if it encounters an error of type Exception.
OperationParallel<T> Identifies unit of work that can be executed in parallel on a given Scheduler.
OperationRefCount<T> Returns an observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence.
OperationRetry  
OperationSample Returns an Observable that emits the results of sampling the items emitted by the source Observable at a specified time interval.
OperationScan Returns an Observable that applies a function to the first item emitted by a source Observable, then feeds the result of that function along with the second item emitted by an Observable into the same function, and so on until all items have been emitted by the source Observable, emitting the result of each of these iterations.
OperationSkip Returns an Observable that skips the first num items emitted by the source Observable.
OperationSkipLast Bypasses a specified number of elements at the end of an observable sequence.
OperationSkipWhile Skips any emitted source items as long as the specified condition holds true.
OperationSubscribeOn Asynchronously subscribes and unsubscribes Observers on the specified Scheduler.
OperationSum A few operators for implementing the sum operation.
OperationSwitch Transforms an Observable that emits Observables into a single Observable that emits the items emitted by the most recently published of those Observables.
OperationSynchronize<T> Wraps an Observable in another Observable that ensures that the resulting Observable is chronologically well-behaved.
OperationTake Returns an Observable that emits the first num items emitted by the source Observable.
OperationTakeLast Returns an Observable that emits the last count items emitted by the source Observable.
OperationTakeUntil Returns an Observable that emits the items from the source Observable until another Observable emits an item.
OperationTakeWhile Returns an Observable that emits items emitted by the source Observable as long as a specified condition is true.
OperationThrottleFirst Throttle by windowing a stream and returning the first value in each window.
OperationTimeInterval Records the time interval between consecutive elements in an observable sequence.
OperationTimeout Applies a timeout policy for each element in the observable sequence, using the specified scheduler to run timeout timers.
OperationTimestamp Wraps each item emitted by a source Observable in a Timestamped object.
OperationToFuture Returns a Future representing the single value emitted by an Observable.
OperationToIterator Returns an Iterator that iterates over all items emitted by a specified Observable.
OperationToObservableFuture Converts a Future into an Observable.
OperationToObservableIterable<T> Converts an Iterable sequence into an Observable.
OperationToObservableList<T> Returns an Observable that emits a single item, a list composed of all the items emitted by the source Observable.
OperationToObservableSortedList<T> Return an Observable that emits the items emitted by the source Observable, in a sorted order (each item emitted by the Observable must implement Comparable with respect to all other items in the sequence, or you must pass in a sort function).
OperationUsing Constructs an observable sequence that depends on a resource object.
OperationWindow  
OperationWindow.Window<T> This class represents a single window: A sequence of recorded values.
OperationZip Returns an Observable that emits the results of a function applied to sets of items emitted, in sequence, by two or more other Observables.
SafeObservableSubscription Thread-safe wrapper around Observable Subscription that ensures unsubscribe can be called only once.
SafeObserver<T> Wrapper around Observer to ensure compliance with Rx contract.
SynchronizedObserver<T> A thread-safe Observer for transitioning states in operators.
 

Package rx.operators Description

Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.

The operators are all exposed via the ObservableExtensions class