Data types: List
Matías montes (contact me)
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.
Click here for detailed information about this class on phpclasses.org