| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(int index, E element)
Implements java. Inserts the specified element at the specified position in this list (optional operation). |
| public boolean | add(E e)
Implements java. Appends the specified element to the end of this list (optional operation). |
| public boolean | addAll(int index, Collection<? extends E> c)
Implements java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). |
| public boolean | addAll(Collection<? extends E> c)
Implements java. 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 (optional operation). |
| public final boolean | addAll(E... elems)
Implements javafx. A convenience method for var-arg addition of elements. |
| public void | clear()
Implements java. Removes all of the elements from this list (optional operation). |
| public E | get(int index)
Implements java. Returns the element at the specified position in this list. |
| protected Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| public E | remove(int index)
Implements java. Removes the element at the specified position in this list (optional operation). |
| public void | remove(int from, int to)
Implements javafx. A simplified way of calling |
| public boolean | remove(Object o)
Implements java. Removes the first occurrence of the specified element from this list, if it is present (optional operation). |
| public boolean | removeAll(Collection<?> c)
Implements java. Removes from this list all of its elements that are contained in the specified collection (optional operation). |
| public final boolean | removeAll(E... elems)
Implements javafx. A convenience method for var-arg usage of the |
| public boolean | retainAll(Collection<?> c)
Implements java. Retains only the elements in this list that are contained in the specified collection (optional operation). |
| public final boolean | retainAll(E... elems)
Implements javafx. A convenience method for var-arg usage of the |
| public E | set(int index, E element)
Implements java. Replaces the element at the specified position in this list with the specified element (optional operation). |
| public boolean | setAll(Collection<? extends E> c)
Implements javafx. Clears the ObservableList and adds all elements from the collection. |
| public final boolean | setAll(E... elems)
Implements javafx. Clears the ObservableList and adds all the elements passed as var-args. |
| public int |
| list | back to summary |
|---|---|
| private List<E> list | |
| LiveArrayList | back to summary |
|---|---|
| public LiveArrayList() | |
| LiveArrayList | back to summary |
|---|---|
| public LiveArrayList(Collection<? extends E> c) | |
| LiveArrayList | back to summary |
|---|---|
public LiveArrayList(E... initialElements)
| |
| add | back to summary |
|---|---|
| public void add(int index, E element) Implements java. Doc from java. Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
| |
| add | back to summary |
|---|---|
| public boolean add(E e) Implements java. Doc from java. Appends the specified element to the end of this list (optional operation). Lists that support this operation may place limitations on what elements may be added to this list. In particular, some lists will refuse to add null elements, and others will impose restrictions on the type of elements that may be added. List classes should clearly specify in their documentation any restrictions on what elements may be added.
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(int index, Collection<? extends E> c) Implements java. Doc from java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (increases their indices). The new elements will appear in this list in the order that they are returned by the specified collection's iterator. The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(Collection<? extends E> c) Implements java. Doc from java. 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 (optional operation). The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
| |
| addAll | back to summary |
|---|---|
| public final boolean addAll(E... elems) Implements javafx. Doc from javafx. A convenience method for var-arg addition of elements.
| |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the elements from this list (optional operation). The list will be empty after this call returns.
| |
| get | back to summary |
|---|---|
| public E get(int index) Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| observeInputs | back to summary |
|---|---|
| protected Subscription observeInputs() Implements abstract org. Doc from org. Starts observing this observable's input(s), if any.
This method is called when the number of observers goes from 0 to 1.
This method is called before
| |
| remove | back to summary |
|---|---|
| public E remove(int index) Implements java. Doc from java. Removes the element at the specified position in this list (optional operation). Shifts any subsequent elements to the left (subtracts one from their indices). Returns the element that was removed from the list.
| |
| remove | back to summary |
|---|---|
| public void remove(int from, int to) Implements javafx. Doc from javafx. A simplified way of calling
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Implements java. Doc from java. Removes the first occurrence of the specified element from this list,
if it is present (optional operation). If this list does not contain
the element, it is unchanged. More formally, removes the element with
the lowest index
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(Collection<?> c) Implements java. Doc from java. Removes from this list all of its elements that are contained in the specified collection (optional operation).
| |
| removeAll | back to summary |
|---|---|
| public final boolean removeAll(E... elems) Implements javafx. Doc from javafx. A convenience method for var-arg usage of the
| |
| retainAll | back to summary |
|---|---|
| public boolean retainAll(Collection<?> c) Implements java. Doc from java. Retains only the elements in this list that are contained in the specified collection (optional operation). In other words, removes from this list all of its elements that are not contained in the specified collection.
| |
| retainAll | back to summary |
|---|---|
| public final boolean retainAll(E... elems) Implements javafx. Doc from javafx. A convenience method for var-arg usage of the
| |
| set | back to summary |
|---|---|
| public E set(int index, E element) Implements java. Doc from java. Replaces the element at the specified position in this list with the specified element (optional operation).
| |
| setAll | back to summary |
|---|---|
| public boolean setAll(Collection<? extends E> c) Implements javafx. Doc from javafx. Clears the ObservableList and adds all elements from the collection.
| |
| setAll | back to summary |
|---|---|
| public final boolean setAll(E... elems) Implements javafx. Doc from javafx. Clears the ObservableList and adds all the elements passed as var-args.
| |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |