ArrayListand LinkedListare implementations of abstraction List. The first contains list items in the internal array, which is automatically redistributed as necessary to make room for new items. The second design is a doubly linked list of holders, each of which refers to a list item. Although the corresponding operations have identical semantics, they differ significantly in characteristics. For instance:
An operation get(int)on ArrayListtakes constant time, but time LinkedListrequires a time proportional to the length of the list.
Removing an item using Iterator.remove()takes constant time for LinkedList, but it takes time proportional to the length of the list for ArrayList.
HashMap THashMap Map, -. -, . HashMap , , . THashMap , , , , . , THashMap , HashMap , , /.
. . , .