luhaikong / RXjavaDoc

这是一篇Rxjava相关的翻译文档

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RXjavaDoc

这是一篇Rxjava相关的翻译文档

aggregate( ) — see reduce( )

all( ) — determine whether all items emitted by an Observable meet some criteria 确定可观察者排放的所有items是否满足某些标准。

amb( ) — given two or more source Observables, emits all of the items from the first of these Observables to emit an item 给定两个或多个源可观察者,释放所有的item,从第一个可观察者发出一个item。

ambWith( ) — instance version of amb( ) amb( )的实例版本。

and( ) — combine the emissions from two or more source Observables into a Pattern (rxjava-joins) 结合两个或两个以上的排放源可观察者到一个模式(rxjava-joins)。

apply( ) (scala) — see create( )

asObservable( ) (kotlin) — see from( ) (et al.)

asyncAction( ) — convert an Action into an Observable that executes the Action and emits its return value (rxjava-async) 转换一个操作成为一个执行该操作的可观察者,并释放返回值(rxjava-async)。

asyncFunc( ) — convert a function into an Observable that executes the function and emits its return value (rxjava-async) 转换一个方法成为一个执行该方法的可观察者,并释放返回值(rxjava-async)。

averageDouble( ) — calculates the average of Doubles emitted by an Observable and emits this average (rxjava-math) 计算由一个观察者发出的Doubles的平均值,并且释放这个平均值(rxjava-math)。

averageFloat( ) — calculates the average of Floats emitted by an Observable and emits this average (rxjava-math) 计算由一个观察者发出的Floats的平均值,并且释放这个平均值(rxjava-math)。

averageInteger( ) — calculates the average of Integers emitted by an Observable and emits this average (rxjava-math) 计算由一个观察者发出的Integers的平均值,并且释放这个平均值(rxjava-math)。

averageLong( ) — calculates the average of Longs emitted by an Observable and emits this average (rxjava-math) 计算由一个观察者发出的Longs的平均值,并且释放这个平均值(rxjava-math)。

blocking( ) (clojure) — see toBlocking( )

buffer( ) — periodically gather items from an Observable into bundles and emit these bundles rather than emitting the items one at a time 定期从bundles里面某一个可观察者收集items,并且释放这些bundles而不是每次释放一个Item。

byLine( ) (StringObservable) — converts an Observable of Strings into an Observable of Lines by treating the source sequence as a stream and splitting it on line-endings 将一个字符串类型的可观察者转换成一个线性的可观察者,一个被当做流来序列化的并且在行的末尾快速的分离的可观察者。

cache( ) — remember the sequence of items emitted by the Observable and emit the same sequence to future Subscribers 记住该观察者释放的items的序列,并且释放掉对未来用户发出的相同的序列。

cast( ) — cast all items from the source Observable into a particular type before reemitting them 把所有来自源观察者的items映射到一个特定的类型,在重复释放它们之前。

catch( ) (clojure) — see onErrorResumeNext( )

chunkify( ) — returns an iterable that periodically returns a list of items emitted by the source Observable since the last list (⁇) 返回一个iterable定期的被源可观察者返回的一个list of items 自从上一个list之后。

collect( ) — collects items emitted by the source Observable into a single mutable data structure and returns an Observable that emits this structure 收集items,被源可观察者释放到一个单独的mutable data structure(一个可变的数据结构),并且返回一个释放该structure的可观察者。

combineLatest( ) — when an item is emitted by either of two Observables, combine the latest item emitted by each Observable via a specified function and emit items based on the results of this function                   当一个Item被两个源可观察者中的任意一个所释放时,使最后的一个item被每一个源可观察者通过一种特殊的方法所释放,并且基于这个方法的返回结果释放所有的Items。

combineLatestWith( ) (scala) — instance version of combineLatest( ) combineLatest( )的实例版本。

concat( ) — concatenate two or more Observables sequentially           按顺序连接两个或两个以上的源可观察者。

concatMap( ) — transform the items emitted by an Observable into Observables, then flatten this into a single Observable, without interleaving               将一个源可观察者所释放的Items转变为多个可观察者,然后压平成一个单独的没有交叉的可观察者。

concatWith( ) — instance version of concat( ) concat( )的实例版本。

connect( ) — instructs a Connectable Observable to begin emitting items             命令一个可连接的Observable开始释放Item。

cons( ) (clojure) — see concat( )

contains( ) — determine whether an Observable emits a particular item or not              确定一个源可观察者是否释放了一个特定的Item。

count( ) — counts the number of items emitted by an Observable and emits this count           统计一个可观察者释放出的Item的数量并且释放这个数。

countLong( ) — counts the number of items emitted by an Observable and emits this count 统计一个可观察者释放出的Item的数量并且释放这个数。

create( ) — create an Observable from scratch by means of a function            从头开始创建一个可观察者通过一个函数。

cycle( ) (clojure) — see repeat( )

debounce( ) — only emit an item from the source Observable after a particular timespan has passed without the Observable emitting any other items              从源可观察者发出一个Item后,在特定的时间间隔后内不发送任何Item。

decode( ) (StringObservable) — convert a stream of multibyte characters into an Observable that emits byte arrays that respect character boundaries                               多字节字符流转换成一个释放字节数组(尊重字符边界)的可观察者。

defaultIfEmpty( ) — emit items from the source Observable, or emit a default item if the source Observable completes after emitting no items                    从源可观察者释放Items,或者释放一个默认的item如果源可观察者完成释放一个空的Item后。

defer( ) — do not create the Observable until a Subscriber subscribes; create a fresh Observable on each subscription           不要创建可观察者指导订阅者订阅;在每一个订阅中创建一个新的可观察者。

deferFuture( ) — convert a Future that returns an Observable into an Observable, but do not attempt to get the Observable that the Future returns until a Subscriber subscribes (rxjava-async)                 转换一个可观察者到一个未来的可观察者,但是不要试图接收这个可观察者直到这个未来的观察者被一个订阅者订阅。

deferCancellableFuture( ) — convert a Future that returns an Observable into an Observable in a way that monitors the subscription status of the Observable to determine whether to halt work on the Future, but do not attempt to get the returned Observable until a Subscriber subscribes (⁇)(rxjava-async)                           转换一个可观察者到一个未来的可观察者,通过监控这个可观察者的订阅状态来确定是否在未来停止工作,但是不要试图接收这个可观察者直到这个未来的观察者被一个订阅者订阅。

delay( ) — shift the emissions from an Observable forward in time by a specified amount           在特定的时间内转化来自一个可观察者的排放量。

dematerialize( ) — convert a materialized Observable back into its non-materialized form                   把一个实体化的可观察者转化回一个非实体化的可观察者。

distinct( ) — suppress duplicate items emitted by the source Observable              抑制被源可观察者所发出的重复的Items。

distinctUntilChanged( ) — suppress duplicate consecutive items emitted by the source Observable                         抑制被源可观察者所发出的重复的连贯的Items。

do( ) (clojure) — see doOnEach( )

doOnCompleted( ) — register an action to take when an Observable completes successfully                   当一个可观察者成功完成时注册一个行动。

doOnEach( ) — register an action to take whenever an Observable emits an item             每当一个可观察者释放一个Item时注册一个行动。

doOnError( ) — register an action to take when an Observable completes with an error               当一个可观察者出错时注册一个行动。

doOnNext( ) — see doOnEach( )

doOnRequest( ) — register an action to take when items are requested from an Observable via reactive-pull backpressure (⁇)                 当Items被从一个可观察者通过背压方式请求时注册一个行动。

doOnSubscribe( ) — register an action to take when an observer subscribes to an Observable                   当一个观察者订阅一个可观察者时注册一个行动。

doOnTerminate( ) — register an action to take when an Observable completes, either successfully or with an error                   当一个可观察者完成时,不论成功与否都注册一个行动。

doOnUnsubscribe( ) — register an action to take when an observer unsubscribes from an Observable                     当一个观察者取消订阅一个可观察者时注册一个行动。

doWhile( ) — emit the source Observable's sequence, and then repeat the sequence as long as a condition remains true (contrib-computation-expressions)             释放这个源可观察者的队列,然后重复序列,只要一个条件还真(contrib-computation-expressions)

drop( ) (scala/clojure) — see skip( ) dropRight( ) (scala) — see skipLast( ) dropUntil( ) (scala) — see skipUntil( ) dropWhile( ) (scala) — see skipWhile( ) drop-while( ) (clojure) — see skipWhile( )

elementAt( ) — emit item n emitted by the source Observable               从源可观察者释放位置为n的Item。

elementAtOrDefault( ) — emit item n emitted by the source Observable, or a default item if the source Observable emits fewer than n items                       从源可观察者释放位置为n的Item,或者释放一个默认的Item如果源可观察者释放的位置不存在数据。

empty( ) — create an Observable that emits nothing and then completes           创建一个不能释放任何数据的可观察者然后完成。

encode( ) (StringObservable) — transform an Observable that emits strings into an Observable that emits byte arrays that respect character boundaries of multibyte characters in the original strings 转换一个释放字符串的可观察者为一个释放字节数组(尊重多字节字符的字符边界在原始字符串)的可观察者。

error( ) — create an Observable that emits nothing and then signals an error 创建一个可观察者释放nothing然后表示一个错误。

every( ) (clojure) — see all( )

exists( ) — determine whether an Observable emits any items or not 确定一个可观察者是否已经发出Items。

filter( ) — filter items emitted by an Observable 过滤被一个可观察者所释放的Items。

finally( ) (clojure) — see finallyDo( ) filterNot( ) (scala) — see filter( )

finallyDo( ) — register an action to take when an Observable completes 当一个可观察者成功完成时注册一个行动。

first( ) (Observable) — emit only the first item emitted by an Observable, or the first item that meets some condition 释放第一个被可观察者释放的Item,或者满足某种条件的第一项Item。

first( ) (BlockingObservable) — emit only the first item emitted by an Observable, or the first item that meets some condition 释放第一个被可观察者释放的Item,或者满足某种条件的第一项Item。

firstOrDefault( ) (Observable) — emit only the first item emitted by an Observable, or the first item that meets some condition, or a default value if the source Observable is empty 释放第一个被可观察者释放的Item,或者满足某种条件的第一项Item,再或者一个默认的值(如果源可观察者是空的)。

firstOrDefault( ) (BlockingObservable) — emit only the first item emitted by an Observable, or the first item that meets some condition, or a default value if the source Observable is empty 释放第一个被可观察者释放的Item,或者满足某种条件的第一项Item,再或者一个默认的值(如果源可观察者是空的)。

firstOrElse( ) (scala) — see firstOrDefault( ) or firstOrDefault( ) (BlockingObservable)

flatMap( ) — transform the items emitted by an Observable into Observables, then flatten this into a single Observable 将一个源可观察者所释放的Items转变为多个可观察者,然后压平成一个单独的没有交叉的可观察者。

flatMapIterable( ) — create Iterables corresponding to each emission from a source Observable and merge the results into a single Observable 创建一个Iterables与每一个来自源可观察者的排放源相匹配,并且合并这些结果在一个单独的可观察者中。

flatMapIterableWith( ) (scala) — instance version of flatMapIterable( ) flatMapWith( ) (scala) — instance version of flatmap( ) flatten( ) (scala) — see merge( ) flattenDelayError( ) (scala) — see mergeDelayError( ) foldLeft( ) (scala) — see reduce( ) forall( ) (scala) — see all( ) forEach( ) (Observable) — see subscribe( )

forEach( ) (BlockingObservable) — invoke a function on each item emitted by the Observable; block until the Observable completes 在可观察者发出每个Item时调用一个函数;阻塞,直到可观查者的完成。

forEachFuture( ) (Async) — pass Subscriber methods to an Observable but also have it behave like a Future that blocks until it completes (rxjava-async) 传递订阅一个可观察者,并且持有一个未来的变量,阻塞直到它完成。

forEachFuture( ) (BlockingObservable)— create a futureTask that will invoke a specified function on each item emitted by an Observable (⁇) 创建一个未来的任务在每一个可观察者所释放的Item中调用一个特定的方法。

forIterable( ) — apply a function to the elements of an Iterable to create Observables which are then concatenated (⁇) 对Iterable中的所有元素应用一个方法来创建可串联的可观察者序列。

from( ) — convert an Iterable, a Future, or an Array into an Observable 转换一个Iterable、Future或者一个Array为一个可观察者。

from( ) (StringObservable) — convert a stream of characters or a Reader into an Observable that emits byte arrays or Strings 转换一连串的字符或者读物为一个可观察者(释放字节数组或字符串)。

fromAction( ) — convert an Action into an Observable that invokes the action and emits its result when a Subscriber subscribes (rxjava-async) 转换一个动作为一个可观察者(调用这个动作并且释放它的结果,当订阅者订阅以后)。

fromCallable( ) — convert a Callable into an Observable that invokes the callable and emits its result or exception when a Subscriber subscribes (rxjava-async) 转换一个Callable 为一个可观察者(调用这个callable 并且释放它的结果或者异常,当订阅者订阅以后)。

fromCancellableFuture( ) — convert a Future into an Observable in a way that monitors the subscription status of the Observable to determine whether to halt work on the Future, but do not attempt to get the Future's value until a Subscriber subscribes (⁇)(rxjava-async)

About

这是一篇Rxjava相关的翻译文档