インタフェースjava.util.stream.Gatherer.Integratorの
使用
Gatherer.Integratorを使用するパッケージ
-
java.util.streamでのGatherer.Integratorの使用
java.util.streamのGatherer.Integratorのサブインタフェース修飾子と型インタフェース説明static interfaceGatherer.Integrator.Greedy<A,T, R> Greedyインテグレータは、すべての入力を消費し、ダウンストリームがより多くの要素を必要としないことをリレーすることができます。修飾子と型メソッド説明Gatherer.integrator()提供されている要素を統合し、提供されている中間状態を使用する可能性があり、オプションで提供されているGatherer.Downstreamへの出力を生成する関数。static <A,T, R> Gatherer.Integrator <A, T, R> Gatherer.Integrator.of(Gatherer.Integrator<A, T, R> integrator) インテグレータ型のラムダをインテグレータに変換するためのファクトリ方式。型Gatherer.Integratorのパラメータを持つjava.util.streamのメソッド修飾子と型メソッド説明static <A,T, R> Gatherer.Integrator <A, T, R> Gatherer.Integrator.of(Gatherer.Integrator<A, T, R> integrator) インテグレータ型のラムダをインテグレータに変換するためのファクトリ方式。static <T,A, R> Gatherer <T, A, R> Gatherer.of(Supplier<A> initializer, Gatherer.Integrator<A, T, R> integrator, BinaryOperator<A> combiner, BiConsumer<A, Gatherer.Downstream<? super R>> finisher) 指定されたinitializer,integrator,combinerおよびfinisherによって記述された、パラレル化可能な新しいGathererを返します。Gatherer.of(Gatherer.Integrator<Void, T, R> integrator) 指定されたintegratorによって記述された、新しいパラレル化可能なステートレスなGathererを返します。Gatherer.of(Gatherer.Integrator<Void, T, R> integrator, BiConsumer<Void, Gatherer.Downstream<? super R>> finisher) 指定されたintegratorおよびfinisherによって記述された、新しいパラレル化可能なステートレスなGathererを返します。static <T,A, R> Gatherer <T, A, R> Gatherer.ofSequential(Supplier<A> initializer, Gatherer.Integrator<A, T, R> integrator) 指定されたinitializerおよびintegratorによって記述された、新しい順次Gathererを返します。static <T,A, R> Gatherer <T, A, R> Gatherer.ofSequential(Supplier<A> initializer, Gatherer.Integrator<A, T, R> integrator, BiConsumer<A, Gatherer.Downstream<? super R>> finisher) 指定されたinitializer、integratorおよびfinisherによって記述された、新しい順次Gathererを返します。Gatherer.ofSequential(Gatherer.Integrator<Void, T, R> integrator) 指定されたintegratorによって記述された、新しい順次およびステートレスなGathererを返します。Gatherer.ofSequential(Gatherer.Integrator<Void, T, R> integrator, BiConsumer<Void, Gatherer.Downstream<? super R>> finisher) 指定されたintegratorおよびfinisherによって記述された、新しい順次およびステートレスなGathererを返します。