Documentation
¶
Index ¶
- type LinkTable
- func NewBoolLinkTable(value bool, size int, onSizeExceeded func(*LinkTable[bool])) *LinkTable[bool]
- func NewFloat64LinkTable(value float64, size int, onSizeExceeded func(*LinkTable[float64])) *LinkTable[float64]
- func NewIntLinkTable(value int, size int, onSizeExceeded func(*LinkTable[int])) *LinkTable[int]
- func NewLinkTable[T any](value T, size int, onSizeExceeded func(*LinkTable[T])) *LinkTable[T]
- func NewStringLinkTable(value string, size int, onSizeExceeded func(*LinkTable[string])) *LinkTable[string]
- func NewUnlimitedBoolLinkTable(value bool) *LinkTable[bool]
- func NewUnlimitedFloat64LinkTable(value float64) *LinkTable[float64]
- func NewUnlimitedIntLinkTable(value int) *LinkTable[int]
- func NewUnlimitedLinkTable[T any](value T) *LinkTable[T]
- func NewUnlimitedStringLinkTable(value string) *LinkTable[string]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkTable ¶
type LinkTable[T any] struct { // contains filtered or unexported fields }
func NewBoolLinkTable ¶
便捷函数 - 布尔链表
func NewFloat64LinkTable ¶
func NewFloat64LinkTable(value float64, size int, onSizeExceeded func(*LinkTable[float64])) *LinkTable[float64]
便捷函数 - 浮点数链表
func NewIntLinkTable ¶
便捷函数 - 整数链表
func NewLinkTable ¶
func NewStringLinkTable ¶
func NewStringLinkTable(value string, size int, onSizeExceeded func(*LinkTable[string])) *LinkTable[string]
便捷函数 - 字符串链表
func NewUnlimitedLinkTable ¶
NewUnlimitedLinkTable 创建一个无限容量的链表
Click to show internal directories.
Click to hide internal directories.