The class of data stored in the list
ProtecteditemsThe list of items, sorted by priority (smallest number first)
StaticDEFAULTPRIORITYThe default priority for items added to the list
Make the list iterable, and return the data for the items in the list
The object containing the iterator's next() function
Remove an item from the list
The data for the item to be removed
The list (for chaining of calls)
Implements the PrioritizedList class