File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
rxjava-core/src/main/java/rx Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1013,25 +1013,17 @@ public static <T> Observable<T> just(T value) {
10131013 }
10141014
10151015 /**
1016- * Returns an Observable that emits a single item and then completes in a specified scheduler.
1016+ * Returns an Observable that emits a single item and then completes on a specified scheduler.
10171017 * <p>
1018- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/just.png">
1019- * <p>
1020- * To convert any object into an Observable that emits that object, pass that object into the
1021- * <code>just</code> method.
1022- * <p>
1023- * This is similar to the {@link #from(java.lang.Object[])} method, except that
1024- * <code>from()</code> will convert an {@link Iterable} object into an Observable that emits
1025- * each of the items in the Iterable, one at a time, while the <code>just()</code> method
1026- * converts an Iterable into an Observable that emits the entire Iterable as a single item.
1018+ * This is a scheduler version of {@link Observable#just(Object)}.
10271019 *
10281020 * @param value
10291021 * the item to pass to the {@link Observer}'s {@link Observer#onNext onNext} method
10301022 * @param scheduler
10311023 * the scheduler to send the single element on
10321024 * @param <T>
10331025 * the type of that item
1034- * @return an Observable that emits a single item and then completes
1026+ * @return an Observable that emits a single item and then completes on a specified scheduler.
10351027 */
10361028 public static <T > Observable <T > just (T value , Scheduler scheduler ) {
10371029 return just (value ).observeOn (scheduler );
You can’t perform that action at this time.
0 commit comments