File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
rxjava-core/src/main/java/rx/observables Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ public Iterator<T> getIterator() {
179
179
* @return the first item emitted by the source {@link Observable}
180
180
* @throws IllegalArgumentException
181
181
* if source contains no elements
182
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229177(v=vs.103).aspx">MSDN: Observable.First</a>
182
183
*/
183
184
public T first () {
184
185
return from (o .first ()).single ();
@@ -193,6 +194,7 @@ public T first() {
193
194
* @return the first item emitted by the {@link Observable} that matches the predicate
194
195
* @throws IllegalArgumentException
195
196
* if no such items are emitted.
197
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh229739(v=vs.103).aspx">MSDN: Observable.First</a>
196
198
*/
197
199
public T first (Func1 <? super T , Boolean > predicate ) {
198
200
return from (o .first (predicate )).single ();
You can’t perform that action at this time.
0 commit comments