An EditableQueue is a queue from which items may be removed and rearranged outside of the normal push() and pop() methods.
It offers the additonal operations:
promote{ByIndex}(): move an item toward the start/front of the queue by a given number of slots (default 1)
demote{ByIndex}(): move an item toward the end/back of the queue by a given number of slots (default 1)
promote{ByIndex}ToStart(): move an item all the way to the start/front
demote{ByIndex}ToEnd(): move an item all the way to the end/back
delete(): remove an arbitrary item from the queue by index
An EditableQueue is a queue from which items may be removed and rearranged outside of the normal
push()andpop()methods. It offers the additonal operations:promote{ByIndex}(): move an item toward the start/front of the queue by a given number of slots (default 1)demote{ByIndex}(): move an item toward the end/back of the queue by a given number of slots (default 1)promote{ByIndex}ToStart(): move an item all the way to the start/frontdemote{ByIndex}ToEnd(): move an item all the way to the end/backdelete(): remove an arbitrary item from the queue by indexremove(): remove an arbitrary item from the queueclear(): remove all items from the queueTypeparam
T : the type of items in this EditableQueue