Added ability to maintain ordered linked list based on "insertAsc" function. The function takes a comparator function that allows for specific order behavior. If values collide, then FIFO or LIFO order can be maintained based on comparator function implementation.

Dependents:   JobScheduler

Fork of LinkedList by Sam Grove

Changes

RevisionDateWhoCommit message
15:f715e3067fa8 2017-07-14 sgnezdov minor debugging changes default tip
14:7fd12867824f 2017-07-13 sgnezdov fixed bug in pop with function
13:b06f7b37fff4 2017-07-13 sgnezdov commented out all printf statements, because use is as debug
12:ab8a80bcfd64 2017-07-11 sgnezdov Changed LinkedList implementation to be in header (for templates), made node hard coded and data is part of template
11:4336cd18cce9 2017-07-10 sgnezdov tested descending order
10:cb2e50ed6945 2017-07-07 sgnezdov marked code as code
9:b173aed98988 2017-07-07 sgnezdov added test example
8:918b196b0ac4 2017-07-07 sgnezdov added insertAsc function that maintains order of insertion and sort order.
7:4ed66162aaa8 2014-02-23 Sissors Removed LogUtil dependency
6:e3ab7684c395 2013-05-14 sam_grove removed old code that was commented out
5:28e11c75b433 2013-05-13 sam_grove Fixed bug in remove member. Deconstructor was hanging due to logic problem when looping to clear the list (last member)
4:59b2aa82b517 2013-04-10 sam_grove removed setting _head->next to 0 in the constructor. Was writing to uninitialized (unallocated) memory location
3:c14e7a918e21 2013-04-08 sam_grove Updated class to offset such that 0 is empty or not a valid location. The start of the list logic is 1. Added documentation
2:704e1c9057c1 2013-04-05 sam_grove Fixed a typo in the example that messed up the compiler rendering and import utility.
1:a032c0392ba1 2013-04-05 sam_grove Pulled in from an offline project. Member insert needs some work. Updated documentation
0:3f64a15357ac 2013-04-04 sam_grove Upload from different project and add documentation