LinkedList

LinkedList template

Members

Functions

clear
void clear()

Empties the LinkedList

contains
bool contains(T value)

Tests if the list contains a node with the specified value

getFirstNode
Node!T getFirstNode()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastNode
Node!T getLastNode()
Undocumented in source. Be warned that the author may not have intended to support it.
insertAfter
Node!T insertAfter(T value, Node!T node)

Creates a node in the list placed after the specified node

insertBack
Node!T insertBack(T value)

Creates a node and places it at the end of the list

insertBefore
Node!T insertBefore(T value, Node!T node)

Creates a node in the list placed before the specified node

insertFront
Node!T insertFront(T value)

Creates a node and places it at the start of the list

opApply
int opApply(int delegate(ref Node!T result) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref T result) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(T value)

Removes the first node with the specified value

Properties

length
int length [@property getter]

Returns the node count

Meta