On this page
tmux.NewSparseArray
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/sparse_array.go
- NewSparseArray ( entries : SparseEntry[T] ) (SparseArray[T], error)
-
NewSparseArray builds an array from entries, sorting them by index. It returns errors matching
ErrInvalidSparseIndexorErrDuplicateSparseIndexfor negative, overflowing, or duplicate indices.
0 declared, 0 inherited