Skip to content

Commit a0ad6c9

Browse files
committed
Remove 'Observable.apply(Int)'
1 parent bcf34f7 commit a0ad6c9

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Observable.scala

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,26 +2449,6 @@ trait Observable[+T]
24492449
toScalaObservable[T](asJavaObservable.delaySubscription(delay.length, delay.unit, scheduler))
24502450
}
24512451

2452-
/**
2453-
* Returns an Observable that emits the single item at a specified index in a sequence of emissions from a
2454-
* source Observbable.
2455-
*
2456-
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/elementAt.png">
2457-
*
2458-
* @param index
2459-
* the zero-based index of the item to retrieve
2460-
* @return an Observable that emits a single item: the item at the specified position in the sequence of
2461-
* those emitted by the source Observable
2462-
* @throws IndexOutOfBoundsException
2463-
* if index is greater than or equal to the number of items emitted by the source
2464-
* Observable
2465-
* @throws IndexOutOfBoundsException
2466-
* if index is less than 0
2467-
* @see `Observable.elementAt`
2468-
* @deprecated("Use `elementAt`", "0.18.0")
2469-
*/
2470-
def apply(index: Int): Observable[T] = elementAt(index)
2471-
24722452
/**
24732453
* Returns an Observable that emits the single item at a specified index in a sequence of emissions from a
24742454
* source Observbable.

0 commit comments

Comments
 (0)