Protocol DQueuable

Adopted by:
DCircle, DList
Declared in:
DQueuable.h

Protocol Description

The DQueuable protocol specifies methods for classes that implements a queue.

Last modified:
19-Jul-2008 (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 06-Sep-2008 by ObjcDoc 3.0.0