Top Description Fields Constructors Methods
io.reactivex.internal.operators.maybe

public final Class MaybeUnsafeCreate<T>

extends AbstractMaybeWithUpstream<T, T>
Class Inheritance
Type Parameters
<T>
the value type
Imports
io.reactivex.*

Wraps a MaybeSource without safeguard and calls its subscribe() method for each MaybeObserver.

Field Summary

Inherited from io.reactivex.internal.operators.maybe.AbstractMaybeWithUpstream:
source

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
subscribeActual(MaybeObserver<? super T>
the MaybeObserver to handle, not null
observer
)

Implements abstract io.reactivex.Maybe.subscribeActual.

Implement this method in subclasses to handle the incoming MaybeObservers.
Inherited from io.reactivex.internal.operators.maybe.AbstractMaybeWithUpstream:
source

Constructor Detail

MaybeUnsafeCreateback to summary
public MaybeUnsafeCreate(MaybeSource<T> source)

Method Detail

subscribeActualback to summary
protected void subscribeActual(MaybeObserver<? super T> observer)

Implements abstract io.reactivex.Maybe.subscribeActual.

Doc from io.reactivex.Maybe.subscribeActual.

Implement this method in subclasses to handle the incoming MaybeObservers.

There is no need to call any of the plugin hooks on the current Maybe instance or the MaybeObserver; all hooks and basic safeguards have been applied by subscribe(MaybeObserver) before this method gets called.

Parameters
observer:MaybeObserver<? super T>

the MaybeObserver to handle, not null

Annotations
@Override