Arrays asList object

Arrays.AsList[Object[]] Method

  • Reference
Is this page helpful?

Please rate your experience

Yes No
Any additional feedback?

Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy.

Submit

Thank you.

Definition

Namespace: Java.Util Assembly:Mono.Android.dll

Important

Some information relates to prerelease product that may be substantially modified before its released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

In this article

Returns a fixed-size list backed by the specified array.

[Android.Runtime.Register["asList", "[[Ljava/lang/Object;]Ljava/util/List;", ""]] [Java.Interop.JavaTypeParameters[new System.String[] { "T" }]] public static System.Collections.IList AsList [params Java.Lang.Object[] a]; [] [] static member AsList : Java.Lang.Object[] -> System.Collections.IList

Parameters

a Object[]

the array by which the list will be backed

Returns

IList

a list view of the specified array

Attributes
RegisterAttribute JavaTypeParametersAttribute

Remarks

Java documentation for java.util.Arrays.asList[T...].

Portions of this page are modifications based on work created andshared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Video liên quan

Chủ Đề