Android.Runtime.JavaList<T> Class
ArrayList is an implementation of Java.Util.IList, backed by an array.

See Also: JavaList<T> Members

Syntax

[Android.Runtime.Register("java/util/ArrayList", DoNotGenerateAcw=true)]
public class JavaList<T> : JavaList, ICollection<T>, IEnumerable<T>, IList<T>

Type Parameters

T
Documentation for this section has not yet been entered.

Remarks

ArrayList is an implementation of Java.Util.IList, backed by an array. All optional operations including adding, removing, and replacing elements are supported.

All elements are permitted, including null.

This class is a good choice as your default List implementation. Java.Util.Vector synchronizes all operations, but not necessarily in a way that's meaningful to your application: synchronizing each call to get, for example, is not equivalent to synchronizing the list and iterating over it (which is probably what you intended). Java.Util.Concurrent.CopyOnWriteArrayList is intended for the special case of very high concurrency, frequent traversals, and very rare mutations.

[Android Documentation]

Requirements

Namespace: Android.Runtime
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1