Arrays asList object

Arrays.AsList(Object[]) Method

Definition

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