anderson

package
v2.0.0-...-fba89a2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndersonTree

type AndersonTree[T constraints.Ordered] struct {
	// contains filtered or unexported fields
}

func New

func New[T constraints.Ordered]() AndersonTree[T]

func (*AndersonTree[T]) At

func (t *AndersonTree[T]) At(k uint) (T, error)

func (*AndersonTree[T]) Clear

func (t *AndersonTree[T]) Clear()

func (*AndersonTree[T]) Contains

func (t *AndersonTree[T]) Contains(value T) bool

func (*AndersonTree[T]) Delete

func (t *AndersonTree[T]) Delete(value T)

func (*AndersonTree[T]) Empty

func (t *AndersonTree[T]) Empty() bool

func (*AndersonTree[T]) Index

func (t *AndersonTree[T]) Index(value T) uint

func (*AndersonTree[T]) Insert

func (t *AndersonTree[T]) Insert(value T)

func (*AndersonTree[T]) Predecessor

func (t *AndersonTree[T]) Predecessor(value T) (T, error)

func (*AndersonTree[T]) Size

func (t *AndersonTree[T]) Size() uint

func (*AndersonTree[T]) Successor

func (t *AndersonTree[T]) Successor(value T) (T, error)

Jump to

Keyboard shortcuts

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