multi_index_container

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiIndex

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

func New

func New() *MultiIndex

func (*MultiIndex) Clear

func (m *MultiIndex) Clear()

func (*MultiIndex) Erase

func (m *MultiIndex) Erase(iter multiindex.IteratorType)

func (*MultiIndex) GetFinalIndex

func (m *MultiIndex) GetFinalIndex() interface{}

func (*MultiIndex) GetIndex

func (m *MultiIndex) GetIndex() interface{}

func (*MultiIndex) GetSuperIndex

func (m *MultiIndex) GetSuperIndex() interface{}

method for MultiIndex

func (*MultiIndex) Insert

func (m *MultiIndex) Insert(v Value) bool

func (*MultiIndex) Modify

func (m *MultiIndex) Modify(iter multiindex.IteratorType, mod func(*Value)) bool

func (*MultiIndex) Size

func (m *MultiIndex) Size() int

type MultiIndexBase

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

/ IndexBase

func (*MultiIndexBase) GetFinalIndex

func (i *MultiIndexBase) GetFinalIndex() interface{}

func (*MultiIndexBase) GetSuperIndex

func (i *MultiIndexBase) GetSuperIndex() interface{}

type MultiIndexBaseNode

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

type MultiIndexNode

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

func (*MultiIndexNode) GetFinalNode

func (n *MultiIndexNode) GetFinalNode() interface{}

func (*MultiIndexNode) GetSuperNode

func (n *MultiIndexNode) GetSuperNode() interface{}

type SuperIndex

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

generic class

type SuperNode

type SuperNode struct {
	GetSuperNode func() (n interface{})
	GetFinalNode func() (n interface{})
	// contains filtered or unexported fields
}

generic class

type Value

type Value = int

template type MultiIndex(SuperIndex,SuperNode,Value)

Jump to

Keyboard shortcuts

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