Create the new DoubleLinker instance, provide the data and optionally the next and prev references.
The settings for the new linker.
Optionaldata?: anyThe data to be stored in this linker
Optionalnext?: DoubleLinkerThe reference to the next linker if any
Optionalprev?: DoubleLinkerThe reference to the previous linker if any
ReadonlyclassThe class used to create this instance, so that it can be recognized as valid without an instanceof check.
The data stored in this linker.
The linker after this one, or null when this is the last.
The linker before this one, or null when this is the first.
StaticfromConvert an array into DoubleLinker instances, return the head and tail DoubleLinkers.
Provide an array of data that will be converted to a chain of linkers.
Provide the type of IsDoubleLinker to use.
StaticmakeMake a new DoubleLinker from the data given if it is not already a valid Linker.
Return a valid Linker instance from given data, or even an already valid one.
Provide the type of IsDoubleLinker to use.
DoubleLinker represents a node in a DoublyLinkedList which is chained by next and prev.