Gatherer.OfSequential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| OfSequential(IGatherer+IIntegrator) |
Obsolete.
Creates a stateless gatherer for sequential evaluation. |
| OfSequential(ISupplier, IGatherer+IIntegrator) |
Obsolete.
Creates a sequential gatherer with the supplied state initializer and integration function. |
| OfSequential(IGatherer+IIntegrator, IBiConsumer) |
Obsolete.
Creates a stateless sequential gatherer with a final action. |
| OfSequential(ISupplier, IGatherer+IIntegrator, IBiConsumer) |
Obsolete.
Creates a sequential gatherer with state, integration, and completion functions. |
OfSequential(IGatherer+IIntegrator)
Caution
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
Creates a stateless gatherer for sequential evaluation.
[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
Parameters
- integrator
- IGatherer.IIntegrator
The function that processes each input element and can send results downstream.
Returns
A new sequential gatherer that uses integrator.
- Attributes
Remarks
This overload uses the default initializer, the sequential-only combiner, and no additional end-of-input action. The integration function must be non-null.
Applies to
OfSequential(ISupplier, IGatherer+IIntegrator)
Caution
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
Creates a sequential gatherer with the supplied state initializer and integration function.
[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
Parameters
- initializer
- ISupplier
The function that creates the intermediate state for the gathering operation.
- integrator
- IGatherer.IIntegrator
The function that processes an input element with the current state and downstream consumer.
Returns
A new sequential gatherer that uses the supplied functions.
- Attributes
Remarks
This overload uses the sequential-only combiner and has no additional end-of-input action. Both supplied functions must be non-null.
Applies to
OfSequential(IGatherer+IIntegrator, IBiConsumer)
Caution
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
Creates a stateless sequential gatherer with a final action.
[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
Parameters
- integrator
- IGatherer.IIntegrator
The function that processes each input element and can send results downstream.
- finisher
- IBiConsumer
The function that can send final results downstream when input processing ends.
Returns
A new sequential gatherer that uses the supplied integration and completion functions.
- Attributes
Remarks
This overload uses the default initializer and the sequential-only combiner. Both supplied functions must be non-null.
Applies to
OfSequential(ISupplier, IGatherer+IIntegrator, IBiConsumer)
Caution
Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.
Creates a sequential gatherer with state, integration, and completion functions.
[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
Parameters
- initializer
- ISupplier
The function that creates the intermediate state for the gathering operation.
- integrator
- IGatherer.IIntegrator
The function that processes an input element with the current state and downstream consumer.
- finisher
- IBiConsumer
The function that receives the final state and can send final results downstream.
Returns
A new sequential gatherer that uses the three supplied functions.
- Attributes
Remarks
This overload uses the sequential-only combiner. The initializer supplies state for integration and for the final action. All three supplied functions must be non-null.