IListIterator.Set(Object) 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.
Replaces the last element returned by #next
or
#previous
with the specified element (optional operation).
[Android.Runtime.Register("set", "(Ljava/lang/Object;)V", "GetSet_Ljava_lang_Object_Handler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Set (Java.Lang.Object? e);
[<Android.Runtime.Register("set", "(Ljava/lang/Object;)V", "GetSet_Ljava_lang_Object_Handler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Set : Java.Lang.Object -> unit
Parameters
- e
- Object
the element with which to replace the last element returned by
next
or previous
- Attributes
Remarks
Replaces the last element returned by #next
or #previous
with the specified element (optional operation). This call can be made only if neither #remove
nor #add
have been called after the last call to next
or previous
.
Java documentation for java.util.ListIterator.set(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.