I have a case where I am using the ArrayList to keep a list of
items that are keyed by their position in the list. Other objects reference the ArrayList
items by their position. If I delete one of the
items from the list, I don't want the list to shrink because that would invalidate all other references to
items in the list (e.g. item 2 is now
…