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 SequencedSet.
[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
Returns an unmodifiable view of the specified SequencedSet. Query operations on the returned set "read through" to the specified set, and attempts to modify the returned set, whether direct or via its iterator, result in an UnsupportedOperationException. The returned set will be serializable if the specified set is serializable.
Java reference for java.util.Collections.unmodifiableSequencedSet.