- Adopted by:
- DCircle, DList
- Declared in:
- DQueuable.h
Protocol Description
The DQueuable protocol specifies methods for classes that implements
a queue.
- Last modified:
- 24-Jun-2004 (DQueuable.h)
Method Index
- - (id) dequeue
- Get an object from the queue (FIFO)
- Parameters:
- obj - the object
- Returns:
- the object (or nil for buffer empty)
- - (BOOL) enqueue :(id) obj
- Put an object in the queue (FIFO)
- Parameters:
- obj - the object
- Returns:
- success (or buffer full)
- - (BOOL) isEmpty
- Check if the buffer is empty
- Returns:
- is it ?
- - (long) length
- Return the number of stored objects
- Returns:
- the length
generated 25-Jul-2006 by ObjcDoc 3.0.0