Class: DictNode

DictNode(opt_keyopt, non-null, opt_nextNodeopt, non-null, opt_prevNodeopt, non-null)

new DictNode(opt_keyopt, non-null, opt_nextNodeopt, non-null, opt_prevNodeopt, non-null)

A doubly-linked-list node with a libtess.ActiveRegion payload. The key for this node and the next and previous nodes in the parent Dict list can be provided to insert it into an existing list (or all can be omitted if this is to be the founding node of the list).
Parameters:
Name Type Attributes Description
opt_key libtess.ActiveRegion <optional>
opt_nextNode libtess.DictNode <optional>
opt_prevNode libtess.DictNode <optional>
Source:

Members

key :libtess.ActiveRegion

The ActiveRegion key for this node, or null if the head of the list.
Type:
Source:

(non-null) next :libtess.DictNode

Link to next DictNode in parent list or to self if this is the first node.
Type:
Source:

(non-null) prev :libtess.DictNode

Link to previous DictNode in parent list or to self if this is the first node.
Type:
Source:

Methods

getKey() → {libtess.ActiveRegion}

Get the key from this node.
Source:
Returns:
Type
libtess.ActiveRegion

getPredecessor() → (non-null) {libtess.DictNode}

Get the predecessor node to this one.
Source:
Returns:
Type
libtess.DictNode

getSuccessor() → (non-null) {libtess.DictNode}

Get the successor node to this one.
Source:
Returns:
Type
libtess.DictNode