| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(final E
element to be appended to this list e)Overrides java. Implements java.
Deprecated
Unsupported operation.
Appends the specified element to the end of this list (optional operation). |
| public void | add(final int
index at which the specified element is to be inserted index, final E element to be inserted element)Overrides java. Implements java.
Deprecated
Unsupported operation.
Inserts the specified element at the specified position in this list (optional operation). |
| public boolean | addAll(final Collection<? extends E>
collection containing elements to be added to this list c)Overrides java. Implements java.
Deprecated
Unsupported operation.
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 boolean | addAll(final int
index at which to insert the first element from the
specified collection index, final Collection<? extends E> collection containing elements to be added to this list c)Overrides java. Implements java.
Deprecated
Unsupported operation.
Inserts all of the elements in the specified collection into this list at the specified position (optional operation). |
| public void | clear()
Overrides java. Implements java.
Deprecated
Unsupported operation.
Removes all of the elements from this list (optional operation). |
| public E | remove(final int
the index of the element to be removed index)Overrides java. Implements java.
Deprecated
Unsupported operation.
Removes the element at the specified position in this list (optional operation). |
| public boolean | remove(final Object
element to be removed from this list, if present o)Overrides java. Implements java.
Deprecated
Unsupported operation.
Removes the first occurrence of the specified element from this list, if it is present (optional operation). |
| public boolean | removeAll(final Collection<?>
collection containing elements to be removed from this list c)Overrides java. Implements java.
Deprecated
Unsupported operation.
Removes from this list all of its elements that are contained in the specified collection (optional operation). |
| public boolean | removeIf(final Predicate<? super E>
a predicate which returns filter)true for elements to be
removedOverrides default java.
Deprecated
Unsupported operation.
Removes all of the elements of this collection that satisfy the given predicate (optional operation). |
| public void | replaceAll(UnaryOperator<E>
the operator to apply to each element operator)Overrides default java.
Deprecated
Unsupported operation.
Replaces each element of this list with the result of applying the operator to that element (optional operation). |
| public boolean | retainAll(final Collection<?>
collection containing elements to be retained in this list list)Overrides java. Implements java.
Deprecated
Unsupported operation.
Retains only the elements in this list that are contained in the specified collection (optional operation). |
| public E | set(final int
index of the element to replace index, final E element to be stored at the specified position element)Overrides java. Implements java.
Deprecated
Unsupported operation.
Replaces the element at the specified position in this list with the specified element (optional operation). |
| public void | sort(Comparator<? super E>
the c)Comparator used to compare list elements.
A null value indicates that the elements'
natural ordering should be usedOverrides default java.
Deprecated
Unsupported operation.
Sorts this list according to the order induced by the specified
|
| AbstractUnmodifiableSequentialList | back to summary |
|---|---|
| public AbstractUnmodifiableSequentialList() | |
| add | back to summary |
|---|---|
| public boolean add(final E e) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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.
| |
| add | back to summary |
|---|---|
| public void add(final int index, final E element) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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). This implementation first gets a list iterator pointing to the
indexed element (with Note that this implementation will throw an
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(final Collection<? extends E> c) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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 boolean addAll(final int index, final Collection<? extends E> c) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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.) This implementation gets an iterator over the specified collection and
a list iterator over this list pointing to the indexed element (with
Note that this implementation will throw an
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. Removes all of the elements from this list (optional operation). The list will be empty after this call returns.
| |
| remove | back to summary |
|---|---|
| public E remove(final int index) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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. This implementation first gets a list iterator pointing to the
indexed element (with Note that this implementation will throw an
| |
| remove | back to summary |
|---|---|
| public boolean remove(final Object o) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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(final Collection<?> c) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. Removes from this list all of its elements that are contained in the specified collection (optional operation).
| |
| removeIf | back to summary |
|---|---|
| public boolean removeIf(final Predicate<? super E> filter) Overrides default java. Doc from java. Deprecated Unsupported operation. Removes all of the elements of this collection that satisfy the given predicate (optional operation). Errors or runtime exceptions thrown during iteration or by the predicate are relayed to the caller.
| |
| replaceAll | back to summary |
|---|---|
| public void replaceAll(UnaryOperator<E> operator) Overrides default java. Doc from java. Deprecated Unsupported operation. Replaces each element of this list with the result of applying the operator to that element (optional operation). Errors or runtime exceptions thrown by the operator are relayed to the caller.
| |
| retainAll | back to summary |
|---|---|
| public boolean retainAll(final Collection<?> list) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. 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.
| |
| set | back to summary |
|---|---|
| public E set(final int index, final E element) Overrides java. Implements java. Doc from java. Deprecated Unsupported operation. Replaces the element at the specified position in this list with the specified element (optional operation). This implementation first gets a list iterator pointing to the
indexed element (with Note that this implementation will throw an
| |
| sort | back to summary |
|---|---|
| public void sort(Comparator<? super E> c) Overrides default java. Doc from java. Deprecated Unsupported operation. Sorts this list according to the order induced by the specified
All elements in this list must be mutually comparable using the
specified comparator (that is, If the specified comparator is This list must be modifiable, but need not be resizable.
| |