LinkedList.add

Appends the specified element to the end of this list.

<p>This method is equivalent to {@link #addLast}.

@param e element to be appended to this list @return {@code true} (as specified by {@link Collection#add})

  1. bool add(E e)
    class LinkedList(E)
    override
    bool
    add
    (
    E e
    )
  2. void add(int index, E element)

Meta