Campbell Ritchie wrote:I believe that Java9+ versions of HashMap implement their buckets slightly differently, but I might be mistaken.
A linked list usually comprises nodes, one for each element; each node is linked to one of its neighbours. A doubly‑linked list has its nodes linked to both their neighbours. Linked lists don't usually contain arrays unless that is their element type.
Louis Müller wrote:Alright, so a LinkedList is a 2D array is that correct? . . . .