MethodType.Erase 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.
Erases all reference types to Object
.
[Android.Runtime.Register("erase", "()Ljava/lang/invoke/MethodType;", "", ApiSince=26)]
public Java.Lang.Invoke.MethodType? Erase ();
[<Android.Runtime.Register("erase", "()Ljava/lang/invoke/MethodType;", "", ApiSince=26)>]
member this.Erase : unit -> Java.Lang.Invoke.MethodType
Returns
a version of the original type with all reference types replaced
- Attributes
Remarks
Erases all reference types to Object
. Convenience method for #methodType(java.lang.Class, java.lang.Class[]) methodType
. All primitive types (including void
) will remain unchanged.
Java documentation for java.lang.invoke.MethodType.erase()
.
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.