Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedBlackTree ¶
type RedBlackTree struct {
FromHighToLow bool // true表示从高到低排序,默认 false 表示从低到高排序
}
*
- @author ljfirst
- @version V1.0
- @date 2023/7/9 02:20
- @author-Email ljfirst@mail.ustc.edu.cn
- @blogURL https://blog.csdn.net/ljfirst
- @description 红黑树排序 *
func (*RedBlackTree) GetAttribute ¶
func (m *RedBlackTree) GetAttribute() *C.Attribute
func (*RedBlackTree) Method ¶
func (m *RedBlackTree) Method()
func (*RedBlackTree) SortMethod ¶
func (m *RedBlackTree) SortMethod(array []int)
Click to show internal directories.
Click to hide internal directories.