src/main/java/io/reactivex/Maybe.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public static <T, D> Maybe<T> using(Callable<? extends D> resourceSupplier,
            Function<? super D, ? extends MaybeSource<? extends T>> sourceSupplier,
                    Consumer<? super D> resourceDisposer) {
        return using(resourceSupplier, sourceSupplier, resourceDisposer, true);
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public static <T, D> Maybe<T> using(Callable<? extends D> resourceSupplier,
            Function<? super D, ? extends MaybeSource<? extends T>> sourceSupplier,
                    Consumer<? super D> resourceDisposer) {
        return using(resourceSupplier, sourceSupplier, resourceDisposer, true);
    }
@ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . NONE ) public static < T , D > Maybe < T > using ( Callable < ? extends D > resourceSupplier , Function < ? super D , ? extends MaybeSource < ? extends T > > sourceSupplier , Consumer < ? super D > resourceDisposer ) { return using ( resourceSupplier , sourceSupplier , resourceDisposer , true ) ; }
Constructs a Maybe that creates a dependent resource object which is disposed of when the
upstream terminates or the downstream calls dispose().
<p>
<img width="640" height="400" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/using.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code using} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>

@param <T> the element type of the generated MaybeSource
@param <D> the type of the resource associated with the output sequence
@param resourceSupplier
the factory function to create a resource object that depends on the Maybe
@param sourceSupplier
the factory function to create a MaybeSource
@param resourceDisposer
the function that will dispose of the resource
@return the Maybe whose lifetime controls the lifetime of the dependent resource object
@see <a href="http://reactivex.io/documentation/operators/using.html">ReactiveX operators documentation: Using</a>
Constructs a Maybe that creates a dependent resource object which is disposed of when the upstream terminates or the downstream calls dispose () . <p > <img width = 640 height = 400 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / using . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > { @code using } does not operate by default on a particular { @link Scheduler } . < / dd > < / dl >