E
- the type of elements in this list
Collection<E>
, Iterable<E>
, SequencedCollection<E>
AbstractList
, AbstractSequentialList
, ArrayList
, AttributeList
, CopyOnWriteArrayList
, LinkedList
, RoleList
, RoleUnresolvedList
, Stack
, Vector
void
add(int index, E element)
Inserts the specified element at the specified position in this list (optional operation).
boolean
Appends the specified element to the end of this list (optional operation).
boolean
Inserts all of the elements in the specified collection into this list at the specified position (optional operation).
boolean
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).
default void
Adds an element as the first element of this collection (optional operation).
default void
Adds an element as the last element of this collection (optional operation).
void
Removes all of the elements from this list (optional operation).
boolean
Returns true
if this list contains the specified element.
boolean
Returns true
if this list contains all of the elements of the specified collection.
Returns an
unmodifiable Listcontaining the elements of the given Collection, in its iteration order.
boolean
Compares the specified object with this list for equality.
Returns the element at the specified position in this list.
Gets the first element of this collection.
Gets the last element of this collection.
int
Returns the hash code value for this list.
int
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
Returns true
if this list contains no elements.
Returns an iterator over the elements in this list in proper sequence.
int
Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
Returns a list iterator over the elements in this list (in proper sequence).
Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.
Returns an unmodifiable list containing zero elements.
Returns an unmodifiable list containing one element.
Returns an unmodifiable list containing an arbitrary number of elements.
Returns an unmodifiable list containing two elements.
Returns an unmodifiable list containing three elements.
of(E e1, E e2, E e3, E e4)
Returns an unmodifiable list containing four elements.
of(E e1, E e2, E e3, E e4, E e5)
Returns an unmodifiable list containing five elements.
of(E e1, E e2, E e3, E e4, E e5, E e6)
Returns an unmodifiable list containing six elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
Returns an unmodifiable list containing seven elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
Returns an unmodifiable list containing eight elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
Returns an unmodifiable list containing nine elements.
of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
Returns an unmodifiable list containing ten elements.
Removes the element at the specified position in this list (optional operation).
boolean
Removes the first occurrence of the specified element from this list, if it is present (optional operation).
boolean
Removes from this list all of its elements that are contained in the specified collection (optional operation).
Removes and returns the first element of this collection (optional operation).
Removes and returns the last element of this collection (optional operation).
default void
Replaces each element of this list with the result of applying the operator to that element (optional operation).
boolean
Retains only the elements in this list that are contained in the specified collection (optional operation).
Returns a reverse-ordered
viewof this collection.
set(int index, E element)
Replaces the element at the specified position in this list with the specified element (optional operation).
int
Returns the number of elements in this list.
default void
Sorts this list according to the order induced by the specified
Comparator
(optional operation).
subList(int fromIndex, int toIndex)
Returns a view of the portion of this list between the specified fromIndex
, inclusive, and toIndex
, exclusive.
Returns an array containing all of the elements in this list in proper sequence (from first to last element).
<T> T[]
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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4