E
- element type@JsType public interface List<E> extends Collection<E>
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E element) |
boolean |
addAll(int index,
Collection<? extends E> c) |
E |
get(int index) |
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int from) |
E |
remove(int index) |
default void |
replaceAll(UnaryOperator<E> operator) |
E |
set(int index,
E element) |
default void |
sort(Comparator<? super E> c) |
default Spliterator<E> |
spliterator() |
List<E> |
subList(int fromIndex,
int toIndex) |
@JsMethod(name="addAtIndex") void add(int index, E element)
@JsMethod(name="addAllAtIndex") boolean addAll(int index, Collection<? extends E> c)
@JsMethod(name="getAtIndex") E get(int index)
int indexOf(Object o)
int lastIndexOf(Object o)
@JsIgnore ListIterator<E> listIterator()
@JsIgnore ListIterator<E> listIterator(int from)
@JsMethod(name="removeAtIndex") E remove(int index)
@JsIgnore default void replaceAll(UnaryOperator<E> operator)
@JsIgnore default void sort(Comparator<? super E> c)
@JsIgnore default Spliterator<E> spliterator()
spliterator
in interface Collection<E>
spliterator
in interface Iterable<E>
Copyright © 2018. All rights reserved.