Documentation ¶
Index ¶
- type Node
- type Ring
- func (r *Ring[T]) Dump() string
- func (r *Ring[T]) EachNode(fnc func(n *Node[T]))
- func (r *Ring[T]) FindNode(match func(n *Node[T]) bool) (*Node[T], bool)
- func (r *Ring[T]) Insert(v T) *Node[T]
- func (r *Ring[T]) InsertBefore(bn *Node[T], v T) *Node[T]
- func (r *Ring[T]) IsValid(n *Node[T]) bool
- func (r *Ring[T]) Remove(rn *Node[T])
- func (r *Ring[T]) ShiftLeft(n *Node[T])
- func (r *Ring[T]) ShiftRight(n *Node[T])
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.