Gatherer.OfSequential 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| OfSequential(IGatherer+IIntegrator) |
已过时.
为顺序评估创建无状态收集器。 |
| OfSequential(ISupplier, IGatherer+IIntegrator) |
已过时.
使用提供的状态初始值设定项和集成函数创建顺序收集器。 |
| OfSequential(IGatherer+IIntegrator, IBiConsumer) |
已过时.
使用最终操作创建无状态顺序收集器。 |
| OfSequential(ISupplier, IGatherer+IIntegrator, IBiConsumer) |
已过时.
创建具有状态、集成和完成函数的顺序收集器。 |
OfSequential(IGatherer+IIntegrator)
注意
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
为顺序评估创建无状态收集器。
[Android.Runtime.Register("ofSequential", "(Ljava/util/stream/Gatherer$Integrator;)Ljava/util/stream/Gatherer;", "", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })]
[System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")]
public static Java.Util.Streams.IGatherer? OfSequential(Java.Util.Streams.IGatherer.IIntegrator? integrator);
[<Android.Runtime.Register("ofSequential", "(Ljava/util/stream/Gatherer$Integrator;)Ljava/util/stream/Gatherer;", "", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })>]
[<System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")>]
static member OfSequential : Java.Util.Streams.IGatherer.IIntegrator -> Java.Util.Streams.IGatherer
参数
- integrator
- IGatherer.IIntegrator
处理每个输入元素并可以下游发送结果的函数。
返回
使用 integrator的新顺序收集器。
- 特性
注解
此重载使用默认初始值设定项、仅顺序组合器,并且没有其他输入端操作。 集成函数必须为非 null。
适用于
OfSequential(ISupplier, IGatherer+IIntegrator)
注意
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
使用提供的状态初始值设定项和集成函数创建顺序收集器。
[Android.Runtime.Register("ofSequential", "(Ljava/util/function/Supplier;Ljava/util/stream/Gatherer$Integrator;)Ljava/util/stream/Gatherer;", "", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "A", "R" })]
[System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")]
public static Java.Util.Streams.IGatherer? OfSequential(Java.Util.Functions.ISupplier? initializer, Java.Util.Streams.IGatherer.IIntegrator? integrator);
[<Android.Runtime.Register("ofSequential", "(Ljava/util/function/Supplier;Ljava/util/stream/Gatherer$Integrator;)Ljava/util/stream/Gatherer;", "", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "A", "R" })>]
[<System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")>]
static member OfSequential : Java.Util.Functions.ISupplier * Java.Util.Streams.IGatherer.IIntegrator -> Java.Util.Streams.IGatherer
参数
- initializer
- ISupplier
为收集操作创建中间状态的函数。
- integrator
- IGatherer.IIntegrator
处理具有当前状态和下游使用者的输入元素的函数。
返回
使用提供的函数的新顺序收集器。
- 特性
注解
此重载使用仅限顺序的组合器,并且没有额外的输入端操作。 提供的两个函数都必须为非 null。
适用于
OfSequential(IGatherer+IIntegrator, IBiConsumer)
注意
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
使用最终操作创建无状态顺序收集器。
[Android.Runtime.Register("ofSequential", "(Ljava/util/stream/Gatherer$Integrator;Ljava/util/function/BiConsumer;)Ljava/util/stream/Gatherer;", "", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })]
[System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")]
public static Java.Util.Streams.IGatherer? OfSequential(Java.Util.Streams.IGatherer.IIntegrator? integrator, Java.Util.Functions.IBiConsumer? finisher);
[<Android.Runtime.Register("ofSequential", "(Ljava/util/stream/Gatherer$Integrator;Ljava/util/function/BiConsumer;)Ljava/util/stream/Gatherer;", "", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })>]
[<System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")>]
static member OfSequential : Java.Util.Streams.IGatherer.IIntegrator * Java.Util.Functions.IBiConsumer -> Java.Util.Streams.IGatherer
参数
- integrator
- IGatherer.IIntegrator
处理每个输入元素并可以下游发送结果的函数。
- finisher
- IBiConsumer
可在输入处理结束时向下游发送最终结果的函数。
返回
使用提供的集成和完成函数的新顺序收集器。
- 特性
注解
此重载使用默认初始值设定项和仅顺序组合器。 提供的两个函数都必须为非 null。
适用于
OfSequential(ISupplier, IGatherer+IIntegrator, IBiConsumer)
注意
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
创建具有状态、集成和完成函数的顺序收集器。
[Android.Runtime.Register("ofSequential", "(Ljava/util/function/Supplier;Ljava/util/stream/Gatherer$Integrator;Ljava/util/function/BiConsumer;)Ljava/util/stream/Gatherer;", "", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "A", "R" })]
[System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")]
public static Java.Util.Streams.IGatherer? OfSequential(Java.Util.Functions.ISupplier? initializer, Java.Util.Streams.IGatherer.IIntegrator? integrator, Java.Util.Functions.IBiConsumer? finisher);
[<Android.Runtime.Register("ofSequential", "(Ljava/util/function/Supplier;Ljava/util/stream/Gatherer$Integrator;Ljava/util/function/BiConsumer;)Ljava/util/stream/Gatherer;", "", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "A", "R" })>]
[<System.Obsolete("Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.")>]
static member OfSequential : Java.Util.Functions.ISupplier * Java.Util.Streams.IGatherer.IIntegrator * Java.Util.Functions.IBiConsumer -> Java.Util.Streams.IGatherer
参数
- initializer
- ISupplier
为收集操作创建中间状态的函数。
- integrator
- IGatherer.IIntegrator
处理具有当前状态和下游使用者的输入元素的函数。
- finisher
- IBiConsumer
接收最终状态并可在下游发送最终结果的函数。
返回
使用三个提供的函数的新顺序收集器。
- 特性
注解
此重载使用仅限顺序的组合器。 初始值设定项为集成和最终操作提供状态。 所有三个提供的函数都必须为非 null。