PHP Classes

List: Manage double-linked lists of sorted elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-09-04 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 653 All time: 4,600 This week: 1,292Up
Version License Categories  
sl-sortedlist 1.0Freely DistributableData types
Description Author  

This package can be used to manage double-linked listed of elements that are automatically sorted.

There is a class for managing the lists of elements of any type or class, and another for managing the list nodes of elements.

The list class provides means to add new list nodes in a position determined by the sorting criteria.

The sorting criteria can be customized passing the name of a callback function that performs the comparision between the elements of the list.

The code and the comments are in Spanish.

In Spanish:

Lista simplemente enlazada que mantiene el orden de los elementos que se le insertan.

Puede almacenar cualquier tipo de dato, incluso Objetos y arrays.

Para determinar el orden qeu se debe mantener utiliza una función definida por el usuario que se le indica a la clase al instanciarla.

Picture of Matías montes
Name: Matías montes <contact>
Classes: 3 packages by
Country: Argentina Argentina
Age: 31
All time rank: 106813 in Argentina Argentina
Week rank: 1471 Down21 in Argentina Argentina Down

  Files folder image Files  
File Role Description
Plain text file class.Lista.php Class Main class file
Plain text file class.Nodo.php Class Node class. Used by main class
Accessible without login Plain text file Ejemplo1.php Example Simple example using Integers
Accessible without login Plain text file Ejemplo2.php Example Example using objects and chained lists

 Version Control Unique User Downloads Download Rankings  
 0%Total:653All time:4,600
 This week:0This week:1,292Up