Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.util
Interface List

All Superinterfaces:
  Collection

All Known Implementing Classes:
  AbstractList, ArrayList

public interface List
extends Collection

Method Summary
`void` | `add(int index, java.lang.Object element)`
`boolean` | `addAll(int index, Collection c)`
`java.lang.Object` | `get(int index)`
`int` | `indexOf(java.lang.Object o)`
`int` | `lastIndexOf(java.lang.Object o)`
`ListIterator` | `listIterator()`
`ListIterator` | `listIterator(int index)`
`java.lang.Object` | `remove(int index)`
`java.lang.Object` | `set(int index, java.lang.Object element)`
`List` | `subList(int fromIndex, int toIndex)`

Methods inherited from interface java.util.Collection
`add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray`

Method Detail

### add

    public void add(int index,
                    java.lang.Object element)
             throws UnsupportedOperationException,
                    java.lang.ClassCastException,
                    java.lang.IllegalArgumentException,
                    java.lang.IndexOutOfBoundsException

    `UnsupportedOperationException`
    `java.lang.ClassCastException`
    `java.lang.IllegalArgumentException`
    `java.lang.IndexOutOfBoundsException`

### addAll

    public boolean addAll(int index,
                          Collection c)
                   throws UnsupportedOperationException,
                          java.lang.ClassCastException,
                          java.lang.IllegalArgumentException,
                          java.lang.IndexOutOfBoundsException

    `UnsupportedOperationException`
    `java.lang.ClassCastException`
    `java.lang.IllegalArgumentException`
    `java.lang.IndexOutOfBoundsException`

### get

    public java.lang.Object get(int index)
                         throws java.lang.IndexOutOfBoundsException

    `java.lang.IndexOutOfBoundsException`

### indexOf

    public int indexOf(java.lang.Object o)

### lastIndexOf

    public int lastIndexOf(java.lang.Object o)

### listIterator

    public ListIterator listIterator()

### listIterator

    public ListIterator listIterator(int index)
                              throws java.lang.IndexOutOfBoundsException

    `java.lang.IndexOutOfBoundsException`

### remove

    public java.lang.Object remove(int index)
                            throws UnsupportedOperationException,
                                   java.lang.IndexOutOfBoundsException

    `UnsupportedOperationException`
    `java.lang.IndexOutOfBoundsException`

### set

    public java.lang.Object set(int index,
                                java.lang.Object element)
                         throws UnsupportedOperationException,
                                java.lang.ClassCastException,
                                java.lang.IllegalArgumentException,
                                java.lang.IndexOutOfBoundsException

    `UnsupportedOperationException`
    `java.lang.ClassCastException`
    `java.lang.IllegalArgumentException`
    `java.lang.IndexOutOfBoundsException`

### subList

    public List subList(int fromIndex,
                        int toIndex)
                 throws java.lang.IndexOutOfBoundsException

    `java.lang.IndexOutOfBoundsException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD