List Interface - ArrayList
Last updated
Last updated
Vector(old) and ArrayList(new) are almost same. ArrayList is advanced version of Vector. Vector has Syncronization and Array doesn't have.
Deleting Data Process of ArrayList
Copy and following data. (When Deleting last data, it will be skipped.)
Last data is changed to null.
Decrease size.
When deleting from the first, Copying data does occured.
When deleting from the last, Copying data does not occured.=>Much faster!