Login   Register  
PHP Classes
elePHPant
Icontem

Class: Bounded Queue

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ahmad Retha  >  Bounded Queue  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Bounded Queue
Base name: bounded-queue
Description: Manage queue with a limited number of elements
Related classes: ,
Version: 0.3
PHP version: 5.0
License: BSD License
All time users: 265 users
All time rank: 5747
Week users: 0 users
Week rank: 2502
Picture of Ahmad Retha
Author: Ahmad Retha <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: ???
All time rank: 218399 in United Kingdom United Kingdom
Week rank: 1275 Up52 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description  
This class can be used to manage queue with a limited number of elements.

It can push and pop item values of any type into a queue array.

If the queue already contains the limit number of items when a new item is pushed, the item at the bottom of the queue is popped out.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
November 2009
Number 9
Queues can be used to maintain a set of elements that can be pushed and popped from the queue.

Usually, queues can maintain an unlimited set of elements. This class provides a different implementation that allows to limit the number of items present in the queue at any moment.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file BoundedQueue.php Class The BoundedQueue class

Download all files: bounded-queue.tar.gz bounded-queue.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.