Spliterators.AbstractSpliterator.InterfaceConsts.Immutable Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.
Characteristic value signifying that the element source cannot be structurally modified; that is, elements cannot be added, replaced, or removed, so such changes cannot occur during traversal.
[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
Field Value
Value = 1024- Attributes
Remarks
Characteristic value signifying that the element source cannot be structurally modified; that is, elements cannot be added, replaced, or removed, so such changes cannot occur during traversal. A Spliterator that does not report IMMUTABLE
or CONCURRENT
is expected to have a documented policy (for example throwing ConcurrentModificationException
) concerning structural interference detected during traversal.
Java documentation for java.util.Spliterator.IMMUTABLE
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.