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.eltypeMethod.

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.iterateFunction.

Iteration protocol implementation.

source
Base.lengthMethod.

Returns the length of the circular list

source
Base.showMethod.

Show list.

source
Base.showMethod.

Show node

source
Base.sizeMethod.

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.headMethod.

Return the head of the list (current node).

source
CircularList.nextMethod.

Return the ext node.

source

Return the previous node.

source

Shift the current pointer forward or backward.

source
CircularList.tailMethod.

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