Type Parameters

  • E

Constructors

Methods

Constructors

Methods

  • Returns the element at the specified position in this list.

    Parameters

    • index: number

      index of the element to return

    Returns E

    the element at the specified position in this list

    Throws

    IndexOutOfBoundsException if the index is out of range (index < 0 || index >= size())

  • Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.

    Returns number

    the number of elements in this list