AbstractMap.SimpleImmutableEntry.SetValue(Object) Method

Definition

Replaces the value corresponding to this entry with the specified value (optional operation).

[Android.Runtime.Register("setValue", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetSetValue_Ljava_lang_Object_Handler")]
public virtual Java.Lang.Object? SetValue (Java.Lang.Object? value);
[<Android.Runtime.Register("setValue", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetSetValue_Ljava_lang_Object_Handler")>]
abstract member SetValue : Java.Lang.Object -> Java.Lang.Object
override this.SetValue : Java.Lang.Object -> Java.Lang.Object

Parameters

value
Object

new value to be stored in this entry

Returns

(Does not return)

Implements

Attributes

Remarks

Replaces the value corresponding to this entry with the specified value (optional operation). This implementation simply throws UnsupportedOperationException, as this class implements an unmodifiable map entry.

Java documentation for java.util.AbstractMap.SimpleImmutableEntry.setValue(V).

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