PHP Classes

Double Linked List

Recommend this page to a friend!

      Double Linked List  >  All threads  >  Double Linked List  >  (Un) Subscribe thread alerts  
Subject:Double Linked List
Summary:An idea to sort elements on insertion
Messages:1
Author:Matías montes
Date:2005-06-28 15:02:57
 

  1. Double Linked List   Reply   Report abuse  
Picture of Matías montes Matías montes - 2005-06-28 15:02:57
Hey i've been looking around for a double linked list and yours was the only one i found. I gotta say it's a great script, but have yous considered adding a "Compare Function" attribute so the list would remain sorted on every insertion according to the "sort criteria" the element has.


I used to have it donde that way in c++. i'll try to adapt the idea to your table and send it to you...