Java.Util.ArrayList: Method Members

The methods of Java.Util.ArrayList are listed below. For a list of all members, see the ArrayList Members list.

See Also: Inherited members from Java.Util.AbstractList

Public Methods

Clone() : Java.Lang.Object
Returns a new ArrayList with the same elements, the same size and the same capacity as this ArrayList.
EnsureCapacity(int)
Ensures that after this operation the ArrayList can hold the specified number of elements without further growing.
override
Get(int) : Java.Lang.Object
Returns the element at the specified location in this list.
override
Size() : int
Returns the number of elements in this ArrayList.
TrimToSize()
Sets the capacity of this ArrayList to be the same as the current size.