elementAt
目录
1 elementAt作用
指定一个索引位置,如果这个索引在发射源Publisher发射的所有项目的索引里,则指定发射这个索引位置的项目,有点定位发射的意思。
2 elementAt接口
Maybe<T> |
elementAt(long index) Returns a Maybe that emits the single item at a specified index in a sequence of emissions from this Flowable or completes if this Flowable sequence has fewer elements than index. 返回一个Maybe,它在此Flowable的一系列排放中的指定索引处发出单个 |