다음을 통해 공유


Spliterators.AbstractSpliterator.InterfaceConsts.Concurrent 필드

정의

주의

This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.

외부 동기화 없이 여러 스레드에서 요소 원본을 안전하게 동시에 수정(추가, 교체 및/또는 제거 허용)할 수 있음을 나타내는 특성 값입니다.

[Android.Runtime.Register("CONCURRENT", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.", true)]
public const Java.Util.SpliteratorCharacteristics Concurrent = 4096;
[<Android.Runtime.Register("CONCURRENT", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.", true)>]
val mutable Concurrent : Java.Util.SpliteratorCharacteristics

필드 값

Value = 4096
특성

설명

외부 동기화 없이 여러 스레드에서 요소 원본을 안전하게 동시에 수정(추가, 교체 및/또는 제거 허용)할 수 있음을 나타내는 특성 값입니다. 그렇다면 스플리터레이터는 순회 중에 수정이 미치는 영향에 대해 문서화된 정책을 포함해야 합니다.

최상위 분할기는 둘 다 CONCURRENT 보고해서는 안 되며 SIZED, 유한 크기(알려진 경우)가 순회 중에 동시에 수정되면 변경될 수 있습니다. 이러한 분할기는 일관성이 없으며 해당 Spliterator를 사용하는 모든 계산에 대해 보장할 수 없습니다. 하위 분할기는 하위 분할 크기가 알려져 있고 트래버스할 때 원본에 대한 추가 또는 제거가 반영되지 않는 경우 보고 SIZED 할 수 있습니다.

최상위 분할기는 상호 배타적이므로 둘 다 CONCURRENTIMMUTABLE보고해서는 안 됩니다. 이러한 분할기는 일관성이 없으며 해당 Spliterator를 사용하는 모든 계산에 대해 보장할 수 없습니다. 하위 분할기는 트래버스할 때 원본에 대한 추가 또는 제거가 반영되지 않는 경우 보고 IMMUTABLE 할 수 있습니다.

에 대한 java.util.Spliterator.CONCURRENTJava 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상