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.
Method Summary
void clear ()
mixed get ()
integer getSize ()
boolean isEmpty ()
mixed peek ()
void put (mixed $item)
Methods
clear (line 53)

Clears the queue.

void clear ()
get (line 36)

Dequeues and returns the next item in the queue.

mixed get ()
getSize (line 62)

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

integer getSize ()
isEmpty (line 71)

Returns whether or not the queue is empty.

boolean isEmpty ()
peek (line 45)

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:37 -0800 by phpDocumentor 1.3.0RC3