Collections.UnmodifiableSequencedSet(ISequencedSet) Method
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.
Returns an unmodifiable view of the specified sequenced set.
[Android.Runtime.Register("unmodifiableSequencedSet", "(Ljava/util/SequencedSet;)Ljava/util/SequencedSet;", "", ApiSince=35)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.ISequencedSet UnmodifiableSequencedSet(Java.Util.ISequencedSet s);
[<Android.Runtime.Register("unmodifiableSequencedSet", "(Ljava/util/SequencedSet;)Ljava/util/SequencedSet;", "", ApiSince=35)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member UnmodifiableSequencedSet : Java.Util.ISequencedSet -> Java.Util.ISequencedSet
Parameters
the set for which an unmodifiable view is to be returned.
Returns
an unmodifiable view of the specified sequenced set.
- Attributes
Remarks
Query operations on the view read through to the specified set. The underlying Java view throws UnsupportedOperationException for direct modifications or modifications through its iterator. The view is serializable if the specified set is serializable.
Java reference for java.util.Collections.unmodifiableSequencedSet.