Class MachII_util_Queue

Description

Located in /MachII/util/Queue.php (line 12)


	
			
Direct descendents
Class Description
MachII_util_SizedQueue A specialization of Queue to limit size.
Variable Summary
array $_queueArray
Method Summary
void clear ()
mixed &get ()
integer getSize ()
boolean isEmpty ()
mixed &peek ()
void put (mixed &$item)
Variables
array $_queueArray = array() (line 19)

Initializes the queue.

  • access: private
Methods
clear (line 56)

Clears the queue.

void clear ()
get (line 36)

Dequeues and returns the next item in the queue.

mixed &get ()
getSize (line 65)

Returns the size of the queue (number of elements).

integer getSize ()
isEmpty (line 74)

Returns whether or not the queue is empty.

boolean isEmpty ()
peek (line 48)

Peeks the next item in the queue without removing it.

mixed &peek ()
put (line 26)

Queues the item.

void put (mixed &$item)
  • mixed &$item

Redefined in descendants as:

Documentation generated on Thu, 20 Jan 2005 10:47:06 -0800 by phpDocumentor 1.3.0RC3