public module LinkedListModule
Turns a class into a linked list where each instance knows its previous and next member in the list
construct()static function getFirst() returns thistypegetNext() returns thistypeThe next instance, wrapping around to the first one at the end of the list
getPrev() returns thistypeThe previous instance, wrapping around to the last one at the start of the list
remove()Unlinks this instance from the list. Removing an instance which is no longer linked does nothing, so remove() followed by destroy is safe.
static function iterator() returns IteratorAn iterator which iterates over all instances of this class
static function staticItr() returns IteratorAn iterator which iterates over all instances of this class
static function backIterator() returns BackIteratorAn iterator which iterates over all instances of this class in reverse
static function staticBackItr() returns BackIteratorAn iterator which iterates over all instances of this class in reverse