Home

CircularList.jl

Base.delete! — Method.

Delete current node and return the previous node.

Warning: removed nodes are not reclaimed from memory for simplicity reasons

source
Base.eltype — Method.

Return the element type of the list

source
Base.insert! — Method.

Insert a new node after the current node and return the new node.

source
Base.iterate — Function.

Iteration protocol implementation.

source
Base.length — Method.

Returns the length of the circular list

source
Base.show — Method.

Show list.

source
Base.show — Method.

Show node

source
Base.size — Method.

Return the size of the list.

source

Shift the current pointer backward.

source

Create a circular list from any vector

source

Create a circular list with the specified data element.

source

Return the current node.

source

Shift the current pointer forward.

source
CircularList.head — Method.

Return the head of the list (current node).

source
CircularList.next — Method.

Return the ext node.

source

Return the previous node.

source

Shift the current pointer forward or backward.

source
CircularList.tail — Method.

Return the tail of the list (last node)

source

List is used to hold a pre-allocated vector of nodes.

source

Doubly linked list implementation

source

Allocates a new uninitialized node in the circular list

source