Gatherers.Fold(ISupplier, IBiFunction) 메서드

정의

결합자 함수를 구현할 수 없는 시나리오 또는 본질적으로 순서에 따라 달라지는 축소를 위해 순서가 지정된 축소와 유사한 변환을 수행하는 Gatherer를 반환합니다.

[Android.Runtime.Register("fold", "(Ljava/util/function/Supplier;Ljava/util/function/BiFunction;)Ljava/util/stream/Gatherer;", "", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })]
public static Java.Util.Streams.IGatherer? Fold(Java.Util.Functions.ISupplier? initial, Java.Util.Functions.IBiFunction? folder);
[<Android.Runtime.Register("fold", "(Ljava/util/function/Supplier;Ljava/util/function/BiFunction;)Ljava/util/stream/Gatherer;", "", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })>]
static member Fold : Java.Util.Functions.ISupplier * Java.Util.Functions.IBiFunction -> Java.Util.Streams.IGatherer

매개 변수

initial
ISupplier

접기 작업의 ID 값

folder
IBiFunction

접기 함수

반품

새 Gatherer

특성

설명

결합자 함수를 구현할 수 없는 시나리오 또는 본질적으로 순서에 따라 달라지는 축소를 위해 순서가 지정된 축소와 유사한 변환을 수행하는 Gatherer를 반환합니다.

에 대한 java.util.stream.Gatherers.fold(java.util.function.Supplier<R>, java.util.function.BiFunction<? super R, ? super T, ? extends R>)Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상