Idioma

Gatherer.OfSequential Método

Definição

Sobrecargas

Nome Descrição
OfSequential(IGatherer+IIntegrator)
Obsoleto.

Cria um coletor sem estado para avaliação sequencial.

OfSequential(ISupplier, IGatherer+IIntegrator)
Obsoleto.

Cria um coletor sequencial com o inicializador de estado fornecido e a função de integração.

OfSequential(IGatherer+IIntegrator, IBiConsumer)
Obsoleto.

Cria um coletor sequencial sem estado com uma ação final.

OfSequential(ISupplier, IGatherer+IIntegrator, IBiConsumer)
Obsoleto.

Cria um coletor sequencial com funções de estado, integração e conclusão.

OfSequential(IGatherer+IIntegrator)

Cuidado

Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.

Cria um coletor sem estado para avaliação sequencial.

[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

Parâmetros

integrator
IGatherer.IIntegrator

A função que processa cada elemento de entrada e pode enviar resultados downstream.

Retornos

Um novo coletor sequencial que usa integrator.

Atributos

Comentários

Essa sobrecarga usa o inicializador padrão, o combinador somente sequencial e nenhuma ação adicional de fim de entrada. A função de integração deve ser não nula.

Aplica-se a

OfSequential(ISupplier, IGatherer+IIntegrator)

Cuidado

Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.

Cria um coletor sequencial com o inicializador de estado fornecido e a função de integração.

[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

Parâmetros

initializer
ISupplier

A função que cria o estado intermediário para a operação de coleta.

integrator
IGatherer.IIntegrator

A função que processa um elemento de entrada com o estado atual e o consumidor downstream.

Retornos

Um novo coletor sequencial que usa as funções fornecidas.

Atributos

Comentários

Essa sobrecarga usa o combinador somente sequencial e não tem nenhuma ação adicional de fim de entrada. Ambas as funções fornecidas devem ser não nulas.

Aplica-se a

OfSequential(IGatherer+IIntegrator, IBiConsumer)

Cuidado

Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.

Cria um coletor sequencial sem estado com uma ação final.

[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

Parâmetros

integrator
IGatherer.IIntegrator

A função que processa cada elemento de entrada e pode enviar resultados downstream.

finisher
IBiConsumer

A função que pode enviar resultados finais downstream quando o processamento de entrada termina.

Retornos

Um novo coletor sequencial que usa as funções de integração e conclusão fornecidas.

Atributos

Comentários

Essa sobrecarga usa o inicializador padrão e o combinador somente sequencial. Ambas as funções fornecidas devem ser não nulas.

Aplica-se a

OfSequential(ISupplier, IGatherer+IIntegrator, IBiConsumer)

Cuidado

Use 'Java.Util.Streams.IGatherer.OfSequential'. This class will be removed in a future release.

Cria um coletor sequencial com funções de estado, integração e conclusão.

[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

Parâmetros

initializer
ISupplier

A função que cria o estado intermediário para a operação de coleta.

integrator
IGatherer.IIntegrator

A função que processa um elemento de entrada com o estado atual e o consumidor downstream.

finisher
IBiConsumer

A função que recebe o estado final e pode enviar resultados finais downstream.

Retornos

Um novo coletor sequencial que usa as três funções fornecidas.

Atributos

Comentários

Essa sobrecarga usa o combinador somente sequencial. O inicializador fornece estado para integração e para a ação final. Todas as três funções fornecidas devem ser não nulas.

Aplica-se a