boolean |
[**add**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#add-E->)([**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>) e) Appends the specified element to the end of this list. |
void |
[**add**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#add-int-E->)(int index, [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>) element) Inserts the specified element at the specified position in this list. |
boolean |
[**addAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#addAll-java.util.Collection->)([**Collection**](<https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html>)<? extends [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> c) Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator. |
boolean |
[**addAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#addAll-int-java.util.Collection->)(int index, [**Collection**](<https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html>)<? extends [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> c) Inserts all of the elements in the specified collection into this list, starting at the specified position. |
void |
[**clear**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#clear-->)() Removes all of the elements from this list. |
Object |
[**clone**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#clone-->)() Returns a shallow copy of this ArrayList instance. |
boolean |
[**contains**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#contains-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o) Returns true if this list contains the specified element. |
void |
[**ensureCapacity**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#ensureCapacity-int->)(int minCapacity) Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument. |
void |
[**forEach**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#forEach-java.util.function.Consumer->)([**Consumer**](<https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html>)<? super [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> action) Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception. |
E |
[**get**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#get-int->)(int index) Returns the element at the specified position in this list. |
int |
[**indexOf**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#indexOf-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o) Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
boolean |
[**isEmpty**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#isEmpty-->)() Returns true if this list contains no elements. |
[**Iterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> |
[**iterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#iterator-->)() Returns an iterator over the elements in this list in proper sequence. |
int |
[**lastIndexOf**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#lastIndexOf-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o) Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
[**ListIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> |
[**listIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#listIterator-->)() Returns a list iterator over the elements in this list (in proper sequence). |
[**ListIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> |
[**listIterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#listIterator-int->)(int index) Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list. |
E |
[**remove**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#remove-int->)(int index) Removes the element at the specified position in this list. |
boolean |
[**remove**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#remove-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) o) Removes the first occurrence of the specified element from this list, if it is present. |
boolean |
[**removeAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#removeAll-java.util.Collection->)([**Collection**](<https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html>)<?> c) Removes from this list all of its elements that are contained in the specified collection. |
boolean |
[**removeIf**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#removeIf-java.util.function.Predicate->)([**Predicate**](<https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html>)<? super [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> filter) Removes all of the elements of this collection that satisfy the given predicate. |
protected void |
[**removeRange**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#removeRange-int-int->)(int fromIndex, int toIndex) Removes from this list all of the elements whose index is between fromIndex , inclusive, and toIndex , exclusive. |
void |
[**replaceAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#replaceAll-java.util.function.UnaryOperator->)([**UnaryOperator**](<https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> operator) Replaces each element of this list with the result of applying the operator to that element. |
boolean |
[**retainAll**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#retainAll-java.util.Collection->)([**Collection**](<https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html>)<?> c) Retains only the elements in this list that are contained in the specified collection. |
E |
[**set**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#set-int-E->)(int index, [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>) element) Replaces the element at the specified position in this list with the specified element. |
int |
[**size**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#size-->)() Returns the number of elements in this list. |
void |
[**sort**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#sort-java.util.Comparator->)([**Comparator**](<https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html>)<? super [**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> c) Sorts this list according to the order induced by the specified Comparator . |
[**Spliterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> |
[**spliterator**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#spliterator-->)() Creates a late-binding and fail-fast Spliterator over the elements in this list. |
[**List**](<https://docs.oracle.com/javase/8/docs/api/java/util/List.html>)<[**E**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html>)> |
[**subList**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#subList-int-int->)(int fromIndex, int toIndex) Returns a view of the portion of this list between the specified fromIndex , inclusive, and toIndex , exclusive. |
[**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>)[] |
[**toArray**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#toArray-->)() Returns an array containing all of the elements in this list in proper sequence (from first to last element). |
<T> T[] |
[**toArray**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#toArray-T:A->)(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array. |
void |
[**trimToSize**](<https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#trimToSize-->)() Trims the capacity of this ArrayList instance to be the list's current size. |