Gatherers.WindowFixed(Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
고정 크기의 창에 요소를 수집하는 Gatherer(발생 순서가 지정된 요소 그룹)를 반환합니다.
[Android.Runtime.Register("windowFixed", "(I)Ljava/util/stream/Gatherer;", "", ApiSince=36)]
[Java.Interop.JavaTypeParameters(new System.String[] { "TR" })]
public static Java.Util.Streams.IGatherer? WindowFixed(int windowSize);
[<Android.Runtime.Register("windowFixed", "(I)Ljava/util/stream/Gatherer;", "", ApiSince=36)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "TR" })>]
static member WindowFixed : int -> Java.Util.Streams.IGatherer
매개 변수
- windowSize
- Int32
창의 크기
반품
요소를 고정 크기 창으로 그룹화한 새 Gatherer
- 특성
설명
고정 크기의 창에 요소를 수집하는 Gatherer(발생 순서가 지정된 요소 그룹)를 반환합니다. 스트림이 비어 있으면 창이 생성되지 않습니다. 마지막 창에는 제공된 창 크기보다 적은 요소가 포함될 수 있습니다.
예: {
에 대한 java.util.stream.Gatherers.windowFixed(int)Java 설명서
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.