Interface Queue
access this type via: data.adt.Queue (provides, requires or uses)
A queue of data items.
Transfer fields
Data content[]
Functions
void add(storeData item)
void remove(Data item)
void update(Data item, storeData newVersion)
Data service()
Data peek()
int getLength()
Data[] getContents()
Transfer fields
content Current contents of the queue, as an array.
void add(storeData item)
Add an element to the queue.
void remove(Data item)
Remove an element from the queue.
void update(Data item, storeData newVersion)
Update an existing element in the queue.
Data service()
Read and remove an element from the queue according to the queue policy.
Data peek()
Read (but do not remove) the first element on the queue according to the queue policy.
int getLength()
Get the number of items in the queue.
Data[] getContents()
Get all items currently in the queue.