LinkedListModule

Data Structures View source
LinkedListModule

Turns a class into a linked list where each instance knows it’s previous and next member in the list

Source on GitHub

Modules

LinkedListModule

public module LinkedListModule

Members:

  • construct()
  • static function getFirst() returns thistype
  • getNext() returns thistype
  • getPrev() returns thistype
  • remove()
  • static function iterator() returns Iterator An iterator which iterates over all instances of this class
  • static function staticItr() returns Iterator An iterator which iterates over all instances of this class
  • static function backIterator() returns BackIterator An iterator which iterates over all instances of this class in reverse
  • static function staticBackItr() returns BackIterator An iterator which iterates over all instances of this class in reverse