Documentation ¶
Index ¶
- func IsAlnum(ch byte) bool
- func IsAlpha(ch byte) bool
- func IsBlank(ch byte) bool
- func IsCntrl(ch byte) bool
- func IsDigit(ch byte) bool
- func IsGraph(ch byte) bool
- func IsLower(ch byte) bool
- func IsPrint(ch byte) bool
- func IsPunct(ch byte) bool
- func IsSpace(ch byte) bool
- func IsUpper(ch byte) bool
- func IsXdigit(ch byte) bool
- func ToLower(ch byte) byte
- func ToUpper(ch byte) byte
- type Avl
- func (mod *Avl[K, V]) At(key K) V
- func (mod *Avl[K, V]) Clear()
- func (mod *Avl[K, V]) Copy() *Avl[K, V]
- func (mod *Avl[K, V]) Filter(fn func(key K, val V) bool) *Avl[K, V]
- func (mod *Avl[K, V]) IsAll(fn func(key K, val V) bool) bool
- func (mod *Avl[K, V]) IsAny(fn func(key K, val V) bool) bool
- func (mod *Avl[K, V]) IsEmpty() bool
- func (mod *Avl[K, V]) IsExist(key K) bool
- func (mod *Avl[K, V]) Len() int
- func (mod *Avl[K, V]) Map(fn func(key K, val V) V) *Avl[K, V]
- func (mod *Avl[K, V]) Next(key K) V
- func (mod *Avl[K, V]) Pop(key K) V
- func (mod *Avl[K, V]) Prev(key K) V
- func (mod *Avl[K, V]) Put(key K, val V)
- func (mod *Avl[K, V]) Range(order bool) iter.Seq2[K, V]
- func (mod *Avl[K, V]) Re(key K, val V)
- func (mod *Avl[K, V]) String() string
- type Map
- func (mod *Map[K, V]) At(key K) V
- func (mod *Map[K, V]) Clear()
- func (mod *Map[K, V]) Copy() *Map[K, V]
- func (mod *Map[K, V]) Filter(fn func(key K, val V) bool) *Map[K, V]
- func (mod *Map[K, V]) IsAll(fn func(key K, val V) bool) bool
- func (mod *Map[K, V]) IsAny(fn func(key K, val V) bool) bool
- func (mod *Map[K, V]) IsEmpty() bool
- func (mod *Map[K, V]) IsExist(key K) bool
- func (mod *Map[K, V]) Keys() *Vec[K]
- func (mod *Map[K, V]) Len() int
- func (mod *Map[K, V]) Map(fn func(key K, val V) V) *Map[K, V]
- func (mod *Map[K, V]) Pop(key K) V
- func (mod *Map[K, V]) Put(key K, val V)
- func (mod *Map[K, V]) Range() iter.Seq2[K, V]
- func (mod *Map[K, V]) Re(key K, val V)
- func (mod *Map[K, V]) String() string
- func (mod *Map[K, V]) Vals() *Vec[V]
- type Vec
- func (mod *Vec[T]) At(idx int) T
- func (mod *Vec[T]) AtBack() T
- func (mod *Vec[T]) AtFront() T
- func (mod *Vec[T]) Clear()
- func (mod *Vec[T]) Copy() *Vec[T]
- func (mod *Vec[T]) Filter(fn func(idx int, it T) bool) *Vec[T]
- func (mod *Vec[T]) Find(it T) (int, T)
- func (mod *Vec[T]) FindBy(fn func(idx int, it T) bool) (int, T)
- func (mod *Vec[T]) Index(it T) int
- func (mod *Vec[T]) IndexBy(fn func(it T) bool) int
- func (mod *Vec[T]) IsAll(fn func(idx int, it T) bool) bool
- func (mod *Vec[T]) IsAny(fn func(idx int, it T) bool) bool
- func (mod *Vec[T]) IsEmpty() bool
- func (mod *Vec[T]) IsSorted() bool
- func (mod *Vec[T]) IsSortedBy(fn func(a, b T) int) bool
- func (mod *Vec[T]) Items() []T
- func (mod *Vec[T]) Len() int
- func (mod *Vec[T]) Map(fn func(idx int, it T) T) *Vec[T]
- func (mod *Vec[T]) Max() T
- func (mod *Vec[T]) MaxBy(fn func(a, b T) int) T
- func (mod *Vec[T]) Min() T
- func (mod *Vec[T]) MinBy(fn func(a, b T) int) T
- func (mod *Vec[T]) Pop(idx int) T
- func (mod *Vec[T]) PopBack() T
- func (mod *Vec[T]) PopFront() T
- func (mod *Vec[T]) Put(idx int, it T)
- func (mod *Vec[T]) PutBack(it T)
- func (mod *Vec[T]) PutFront(it T)
- func (mod *Vec[T]) Range(order bool) iter.Seq2[int, T]
- func (mod *Vec[T]) Re(idx int, it T)
- func (mod *Vec[T]) ReBack(it T)
- func (mod *Vec[T]) ReFront(it T)
- func (mod *Vec[T]) Sort()
- func (mod *Vec[T]) SortBy(fn func(a, b T) int)
- func (mod *Vec[T]) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
func NewMap ¶
func NewMap[K comparable, V any](other map[K]V) *Map[K, V]
type Vec ¶
type Vec[T any] struct { // contains filtered or unexported fields }
func (*Vec[T]) IsSortedBy ¶
Click to show internal directories.
Click to hide internal directories.