src/main/java/io/reactivex/Observable.java
@SuppressWarnings("unchecked")
    @CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Observable<T> startWithArray(T... items) {
        Observable<T> fromArray = fromArray(items);
        if (fromArray == empty()) {
            return RxJavaPlugins.onAssembly(this);
        }
        return concatArray(fromArray, this);
    }
@SuppressWarnings("unchecked")
    @CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Observable<T> startWithArray(T... items) {
        Observable<T> fromArray = fromArray(items);
        if (fromArray == empty()) {
            return RxJavaPlugins.onAssembly(this);
        }
        return concatArray(fromArray, this);
    }
@ SuppressWarnings ( "unchecked" ) @ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . NONE ) public final Observable < T > startWithArray ( T ... items ) { Observable < T > fromArray = fromArray ( items ) ; if ( fromArray == empty ( ) ) { return RxJavaPlugins . onAssembly ( this ) ; } return concatArray ( fromArray , this ) ; }
Returns an Observable that emits the specified items before it begins to emit items emitted by the source
ObservableSource.
<p>
<img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/startWithArray.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code startWithArray} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>

@param items
the array of values to emit first
@return an Observable that emits the specified items before it begins to emit items emitted by the source
ObservableSource
@see <a href="http://reactivex.io/documentation/operators/startwith.html">ReactiveX operators documentation: StartWith</a>
Returns an Observable that emits the specified items before it begins to emit items emitted by the source ObservableSource . <p > <img width = 640 height = 315 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / startWithArray . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > { @code startWithArray } does not operate by default on a particular { @link Scheduler } . < / dd > < / dl >