Partager via


ISortedSet.ISequencedCollection.AddFirst(Object) Method

Definition

Throws UnsupportedOperationException.

[Android.Runtime.Register("addFirst", "(Ljava/lang/Object;)V", "GetAddFirst_Ljava_lang_Object_Handler:Java.Util.ISortedSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
override sealed void ISequencedCollection.AddFirst (Java.Lang.Object? e);
[<Android.Runtime.Register("addFirst", "(Ljava/lang/Object;)V", "GetAddFirst_Ljava_lang_Object_Handler:Java.Util.ISortedSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member Java.Util.ISequencedCollection.AddFirst : Java.Lang.Object -> unit
override this.Java.Util.ISequencedCollection.AddFirst : Java.Lang.Object -> unit

Parameters

e
Object

Implements

Attributes

Remarks

Throws UnsupportedOperationException. The encounter order induced by this set's comparison method determines the position of elements, so explicit positioning is not supported.

Added in 21.

Java documentation for java.util.SortedSet.addFirst(E).

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.

Applies to