Class MachII_util_SizedQueue

Description

A specialization of Queue to limit size.

Located in /MachII/util/SizedQueue.php (line 18)

MachII_util_Queue
   |
   --MachII_util_SizedQueue
Method Summary
MachII_util_SizedQueue __construct ([integer $maxSize = 100])
integer getMaxSize ()
boolean isFull ()
boolean put (mixed $item)
void setMaxSize (integer $maxSize)
Methods
Constructor __construct (line 30)

Initializes the queue.

MachII_util_SizedQueue __construct ([integer $maxSize = 100])
  • integer $maxSize
getMaxSize (line 63)

Returns the maximum size of the queue.

integer getMaxSize ()
isFull (line 72)

Returns whether or not the queue is full.

boolean isFull ()
put (line 40)

Queues the item.

boolean put (mixed $item)
  • mixed $item

Redefinition of:
MachII_util_Queue::put()
Queues the item.
setMaxSize (line 54)

Sets the maximum size of the queue.

void setMaxSize (integer $maxSize)
  • integer $maxSize

Inherited Methods

Inherited From MachII_util_Queue

MachII_util_Queue::clear()
MachII_util_Queue::get()
MachII_util_Queue::getSize()
MachII_util_Queue::isEmpty()
MachII_util_Queue::peek()
MachII_util_Queue::put()

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