A List would be a better fit since it defines an Ordered sequence by definition. Then any users of this List can be assured of its ordering. The Map really isn't necessary for this structure at, since it is the values that are parsed over sequentially in any case. Thus for general usage it is used in the same manner as a List but without the guarantee of ordering.
Only deletes use the Map structure, and that can still be accomplished by traversing the list.
A List would be a better fit since it defines an Ordered sequence by definition. Then any users of this List can be assured of its ordering. The Map really isn't necessary for this structure at, since it is the values that are parsed over sequentially in any case. Thus for general usage it is used in the same manner as a List but without the guarantee of ordering.
Only deletes use the Map structure, and that can still be accomplished by traversing the list.