frequency

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrequencyTable

type FrequencyTable struct {
	*widgets.QTableWidget

	Counts map[string]int
	Keys   []string
	KeyMap map[string]int
	// contains filtered or unexported fields
}

func NewFrequencyView

func NewFrequencyView(maxSize int) *FrequencyTable

func (*FrequencyTable) Add

func (view *FrequencyTable) Add(key string, plus int)

func (*FrequencyTable) Clear

func (view *FrequencyTable) Clear()

func (*FrequencyTable) LoadFromFile

func (view *FrequencyTable) LoadFromFile(pathStr string) error

func (*FrequencyTable) SaveToFile

func (view *FrequencyTable) SaveToFile(pathStr string) error

func (*FrequencyTable) Trim

func (view *FrequencyTable) Trim()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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