Documentation
¶
Index ¶
- func RegisterStdPreload(v *vm.VM)
- type BTree
- type BTreeNode
- func (node *BTreeNode[T]) Append(key T, child *BTreeNode[T])
- func (node *BTreeNode[T]) Concat(other *BTreeNode[T], idx int)
- func (node *BTreeNode[T]) Delete(tree *BTree[T], key T)
- func (node *BTreeNode[T]) DeleteIthKey(i int)
- func (node *BTreeNode[T]) InsertKeyChild(key T, child *BTreeNode[T])
- func (node *BTreeNode[T]) InsertNonFull(tree *BTree[T], key T)
- func (node *BTreeNode[T]) IsFull(maxKeys int) bool
- func (node *BTreeNode[T]) Max() T
- func (node *BTreeNode[T]) Merge(idx int)
- func (node *BTreeNode[T]) Min() T
- func (node *BTreeNode[T]) Search(key T) bool
- func (parent *BTreeNode[T]) Split(idx int, maxKeys int)
- func (node *BTreeNode[T]) Verify(tree *BTree[T])
- type Deque
- type HashMap
- type Heap
- type LinkedList
- func (l *LinkedList) Back() (any, bool)
- func (l *LinkedList) Clear()
- func (l *LinkedList) Empty() bool
- func (l *LinkedList) Front() (any, bool)
- func (l *LinkedList) PopBack() (any, bool)
- func (l *LinkedList) PopFront() (any, bool)
- func (l *LinkedList) PushBack(v any)
- func (l *LinkedList) PushFront(v any)
- func (l *LinkedList) Size() int
- func (l *LinkedList) ToArray() []any
- type Node
- type Queue
- type Set
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStdPreload ¶
Types ¶
type BTree ¶
type BTree[T constraints.Ordered] struct { // contains filtered or unexported fields }
type BTreeNode ¶
type BTreeNode[T constraints.Ordered] struct { // contains filtered or unexported fields }
func NewBTreeNode ¶
func NewBTreeNode[T constraints.Ordered](maxKeys int, isLeaf bool) *BTreeNode[T]
func (*BTreeNode[T]) DeleteIthKey ¶
func (*BTreeNode[T]) InsertKeyChild ¶
func (*BTreeNode[T]) InsertNonFull ¶
type HashMap ¶
type HashMap struct {
// contains filtered or unexported fields
}
func DefaultHashMap ¶
func DefaultHashMap() *HashMap
type LinkedList ¶
type LinkedList struct {
// contains filtered or unexported fields
}
func NewLinkedList ¶
func NewLinkedList() *LinkedList
func (*LinkedList) Back ¶
func (l *LinkedList) Back() (any, bool)
func (*LinkedList) Clear ¶
func (l *LinkedList) Clear()
func (*LinkedList) Empty ¶
func (l *LinkedList) Empty() bool
func (*LinkedList) Front ¶
func (l *LinkedList) Front() (any, bool)
func (*LinkedList) PopBack ¶
func (l *LinkedList) PopBack() (any, bool)
func (*LinkedList) PopFront ¶
func (l *LinkedList) PopFront() (any, bool)
func (*LinkedList) PushBack ¶
func (l *LinkedList) PushBack(v any)
func (*LinkedList) PushFront ¶
func (l *LinkedList) PushFront(v any)
func (*LinkedList) Size ¶
func (l *LinkedList) Size() int
func (*LinkedList) ToArray ¶
func (l *LinkedList) ToArray() []any
Click to show internal directories.
Click to hide internal directories.