-
-
Save uncoded-ro/d531181515fb772d1ab085a8678031f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface List<E> extends Collection<E> { | |
int size(); | |
boolean isEmpty(); | |
boolean contains(Object o); | |
Iterator<E> iterator(); | |
Object[] toArray(); | |
<T> T[] toArray(T[] a); | |
boolean add(E e); | |
boolean remove(Object o); | |
boolean containsAll(Collection<?> c); | |
boolean addAll(Collection<? extends E> c); | |
boolean addAll(int index, Collection<? extends E> c); | |
boolean removeAll(Collection<?> c); | |
boolean retainAll(Collection<?> c); | |
void clear(); | |
boolean equals(Object o); | |
int hashCode(); | |
E get(int index); | |
E set(int index, E element); | |
void add(int index, E element); | |
E remove(int index); | |
int indexOf(Object o); | |
int lastIndexOf(Object o); | |
ListIterator<E> listIterator(); | |
ListIterator<E> listIterator(int index); | |
List<E> subList(int fromIndex, int toIndex); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment