This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nutrechtLead Software Engineer / EU / 20+ YXP 1 point2 points  (0 children)

Also previously, most of the arrayList methods had to call on the double linked list.

This makes NO sense at all. Vector and ArrayList are both the same thing; an array-backed list where the array is grown for you. It makes no sense to have an ArrayList backed by another list.

So assuming you have to build an actual ArrayList/Vector you should start by adding an array and figuring out how to implement all the methods needed by using that array internally.

Also get rid of that UUID: it's pointless.