ListNode

Home

ListNode is an interface for an object that can be inserted into a List.

Interface

data: T | any The data that the node contains. T is a representative of the type of the data being stored.
nxt: ListNode<T> | any The next ListNode that the current node is linked to. Can also be undefined if this is the last node in the list.
priority: number The priority of the node. This can be used to determine the ordering of nodes in a list.

Home

Copyright © 2020 Trevor Richard