aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/jdk1.1/java/util/List.java
blob: ee5896ea85e3c315dcc34815e9ed6fb641376814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package java.util;

public interface List extends Collection
    {
    void add(int index, Object element)throws UnsupportedOperationException,ClassCastException,IllegalArgumentException,IndexOutOfBoundsException;
        boolean addAll(int index, Collection c) throws UnsupportedOperationException,ClassCastException,IllegalArgumentException,IndexOutOfBoundsException;
      Object get(int index) throws IndexOutOfBoundsException;
      int indexOf(Object o);
      int lastIndexOf(Object o);
      ListIterator listIterator();
      ListIterator listIterator(int index)throws IndexOutOfBoundsException;
      Object remove(int index)throws UnsupportedOperationException,IndexOutOfBoundsException;
      Object set(int index, Object element) throws UnsupportedOperationException,ClassCastException,IllegalArgumentException,IndexOutOfBoundsException;
      List subList(int fromIndex, int toIndex) throws IndexOutOfBoundsException;
  }