RRBTree

package
v0.0.0-...-4092c3d Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RRBTree

type RRBTree[V any] struct {
	// contains filtered or unexported fields
}

func NewRRBTree

func NewRRBTree[V any]() RRBTree[V]

func (RRBTree[V]) Append

func (t RRBTree[V]) Append(value V) RRBTree[V]

func (RRBTree[V]) Get

func (t RRBTree[V]) Get(i int) V

func (RRBTree[V]) Len

func (t RRBTree[V]) Len() int

func (RRBTree[V]) Pop

func (t RRBTree[V]) Pop() (rrb RRBTree[V], value V, ok bool)

func (RRBTree[V]) Prepend

func (t RRBTree[V]) Prepend(value V) RRBTree[V]

func (RRBTree[V]) Slice

func (t RRBTree[V]) Slice(i, j int) RRBTree[V]

Jump to

Keyboard shortcuts

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