add abstract method

void add(
  1. T item
)

Add element item to the list.

要素itemをリストに追加します。

Implementation

void add(T item);