Module org.hsqldb
Package org.hsqldb.lib

## Interface List<E>

- All Superinterfaces:
    `Collection<E>`
  All Known Implementing Classes:
    `ArrayListIdentity`, `HsqlArrayList`, `HsqlDeque`, `OrderedHashSet`

      public interface List<E>
      extends Collection<E>

  Interface for List collections. Updated for generics fredt@users.
  Since:
    1.7.2
  Author:
    dnordahl@users

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `add​(int index, E element)` |
    `boolean` | `add​(E element)` |
    `E` | `get​(int index)` |
    `boolean` | `isEmpty()` |
    `Iterator<E>` | `iterator()` |
    `E` | `remove​(int index)` |
    `E` | `set​(int index, E element)` |
    `int` | `size()` |

    - ### Methods inherited from interface org.hsqldb.lib.Collection

      `addAll, clear, contains, remove`

- - ### Method Detail

    - #### add

          void add​(int index,
                   E element)

    - #### add

          boolean add​(E element)

      Specified by:
        `add` in interface `Collection<E>`

    - #### get

          E get​(int index)

    - #### remove

          E remove​(int index)

    - #### set

          E set​(int index,
                E element)

    - #### isEmpty

          boolean isEmpty()

      Specified by:
        `isEmpty` in interface `Collection<E>`

    - #### size

          int size()

      Specified by:
        `size` in interface `Collection<E>`

    - #### iterator

          Iterator<E> iterator()

      Specified by:
        `iterator` in interface `Collection<E>`