Top Description Methods
io.reactivex.rxjava3.functions

public Interface Supplier<T>

Known Direct Subinterfaces
io.reactivex.rxjava3.operators.ScalarSupplier
Known Direct Implementers
io.reactivex.rxjava3.internal.functions.Functions.JustValue, io.reactivex.rxjava3.internal.functions.Functions.ArrayListCapacityCallable, io.reactivex.rxjava3.internal.functions.Functions.HashSetSupplier, io.reactivex.rxjava3.internal.functions.Functions.NullProvider, io.reactivex.rxjava3.internal.operators.flowable.FlowableFromAction, io.reactivex.rxjava3.internal.operators.flowable.FlowableFromCallable, io.reactivex.rxjava3.internal.operators.flowable.FlowableFromRunnable, io.reactivex.rxjava3.internal.operators.flowable.FlowableFromSupplier, io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper.ReplaySupplier, io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper.BufferedReplaySupplier, io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper.BufferedTimedReplay, io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper.TimedReplay, io.reactivex.rxjava3.internal.operators.flowable.FlowableReplay.ReplayBufferSupplier, io.reactivex.rxjava3.internal.operators.flowable.FlowableReplay.ScheduledReplayBufferSupplier, io.reactivex.rxjava3.internal.operators.flowable.FlowableReplay.DefaultUnboundedFactory, io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSupplier, io.reactivex.rxjava3.internal.operators.maybe.MaybeFromAction, io.reactivex.rxjava3.internal.operators.maybe.MaybeFromCallable, io.reactivex.rxjava3.internal.operators.maybe.MaybeFromRunnable, io.reactivex.rxjava3.internal.operators.observable.ObservableFromAction, io.reactivex.rxjava3.internal.operators.observable.ObservableFromCallable, io.reactivex.rxjava3.internal.operators.observable.ObservableFromRunnable, io.reactivex.rxjava3.internal.operators.observable.ObservableFromSupplier, io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.ReplaySupplier, io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.BufferedReplaySupplier, io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.BufferedTimedReplaySupplier, io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.TimedReplayCallable, io.reactivex.rxjava3.internal.operators.single.SingleInternalHelper.NoSuchElementSupplier, io.reactivex.rxjava3.internal.util.ArrayListSupplier, io.reactivex.rxjava3.internal.util.HashMapSupplier, io.reactivex.rxjava3.schedulers.Schedulers.IOTask, io.reactivex.rxjava3.schedulers.Schedulers.NewThreadTask, io.reactivex.rxjava3.schedulers.Schedulers.SingleTask, io.reactivex.rxjava3.schedulers.Schedulers.ComputationTask
Annotations
@FunctionalInterface
Type Parameters
<T>
the value type returned

A functional interface (callback) that provides a single value or throws an exception.

This interface was added to allow throwing any subclass of Throwables, which is not directly possible with the Java standard java.util.concurrent.Callable interface.

Since
3.0.0

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the value produced
get
()

Produces a value or throws an exception.

Method Detail

getback to summary
public T get() throws Throwable

Produces a value or throws an exception.

Returns:T

the value produced

Exceptions
Throwable:
if the implementation wishes to throw any type of exception