語言

Spliterators.AbstractSpliterator.InterfaceConsts.Immutable 欄位

定義

警告

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

特徵值表示元素來源無法結構性改變;也就是說,元素無法被新增、替換或移除,因此這些變更在遍歷過程中無法發生。

[Android.Runtime.Register("IMMUTABLE", 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 Immutable = 1024;
[<Android.Runtime.Register("IMMUTABLE", 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 Immutable : Java.Util.SpliteratorCharacteristics

欄位值

Value = 1024
屬性

備註

特徵值表示元素來源無法結構性改變;也就是說,元素無法被新增、替換或移除,因此這些變更在遍歷過程中無法發生。 一個不會報告IMMUTABLECONCURRENT或預期會有文件化政策(例如投擲ConcurrentModificationException)關於穿越過程中偵測到結構干涉的分流器。

Java 文件 java.util.Spliterator.IMMUTABLE

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於