Arrays.AsList(Object[]) Method

Definition

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);
[<Android.Runtime.Register("asList", "([Ljava/lang/Object;)Ljava/util/List;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
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

Remarks

Java documentation for java.util.Arrays.asList(T...).

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