Interface DoubleLinkedNode<T>

Type Parameters:
T -
All Superinterfaces:
SingleLinkedNode<T>
All Known Subinterfaces:
MutableGraphNode<T>

public interface DoubleLinkedNode<T> extends SingleLinkedNode<T>
A node which has a getNext() and getPrev() method. In javascript, it is accessed via instance.next property; js "fields" are get(), set() function pairs anyway, so if you want to override those, you can, and reduce the `get` and `()` chars in output code. Plus, it's a lot easier to do `{next: thing}`, than new Nextable(thing); it's not only less characters, the former works correctly when going through JSON.parse(), whereas the latter would require serializing type information, and then running O(n) passes over any "foreignly created" lists