Collections.UnmodifiableSequencedMap(ISequencedMap) 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 SequencedMap.
[Android.Runtime.Register("unmodifiableSequencedMap", "(Ljava/util/SequencedMap;)Ljava/util/SequencedMap;", "", ApiSince=35)]
[Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })]
public static Java.Util.ISequencedMap UnmodifiableSequencedMap(Java.Util.ISequencedMap m);
[<Android.Runtime.Register("unmodifiableSequencedMap", "(Ljava/util/SequencedMap;)Ljava/util/SequencedMap;", "", ApiSince=35)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })>]
static member UnmodifiableSequencedMap : Java.Util.ISequencedMap -> Java.Util.ISequencedMap
Parameters
the map for which an unmodifiable view is to be returned.
Returns
an unmodifiable view of the specified map.
- Attributes
Remarks
Returns an unmodifiable view of the specified SequencedMap. Query operations on the returned map "read through" to the specified map, and attempts to modify the returned map, whether direct or via its collection views, result in an UnsupportedOperationException. The returned map will be serializable if the specified map is serializable.
Java reference for java.util.Collections.unmodifiableSequencedMap.