allone

package
v0.0.0-...-a3fd192 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllOneAddDel

type AllOneAddDel struct {
	// contains filtered or unexported fields
}

func AllOneAddDelConstructor

func AllOneAddDelConstructor() AllOneAddDel

func (*AllOneAddDel) Add

func (this *AllOneAddDel) Add(x any) bool

func (*AllOneAddDel) Del

func (this *AllOneAddDel) Del(x any) bool

type AllOneMinMax

type AllOneMinMax struct {
	// contains filtered or unexported fields
}

-------------- AllOneMinMax --------------

func AllOneMinMaxConstructor

func AllOneMinMaxConstructor() AllOneMinMax

func (*AllOneMinMax) Dec

func (this *AllOneMinMax) Dec(key any)

func (*AllOneMinMax) GetMaxKey

func (this *AllOneMinMax) GetMaxKey() any

func (*AllOneMinMax) GetMinKey

func (this *AllOneMinMax) GetMinKey() any

func (*AllOneMinMax) Inc

func (this *AllOneMinMax) Inc(key any)

type Node

type Node struct {
	// contains filtered or unexported fields
}

Node define the node that

func NewNode

func NewNode(val int64) *Node

func (*Node) Erase

func (n *Node) Erase(key any)

func (*Node) Has

func (n *Node) Has(key any) bool

func (*Node) Insert

func (n *Node) Insert(key any)

func (*Node) PickOneKey

func (n *Node) PickOneKey() any

func (*Node) Size

func (n *Node) Size() int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL