Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VertexList

Hierarchy

  • VertexList

Index

Constructors

Properties

head: null | Vertex
tail: null | Vertex

Methods

  • Appends a node to the end of this doubly linked list Note: node.next will be unlinked from node Note: if node is part of another linked list call addAll instead

    Parameters

    Returns void

  • Appends a chain of nodes where node is the head, the difference with add is that it correctly sets the position of the node list tail property

    Parameters

    Returns void

  • clear(): void
  • Inserts a node after target, it's assumed that target belongs to this doubly linked list

    Parameters

    Returns void

  • Inserts a node before target, it's assumed that target belongs to this doubly linked list

    Parameters

    Returns void

  • isEmpty(): boolean
  • Deletes a node from this linked list, it's assumed that node is a member of this linked list

    Parameters

    Returns void

  • Removes a chain of nodes whose head is a and whose tail is b, it's assumed that a and b belong to this list and also that a comes before b in the linked list

    Parameters

    Returns void