Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
type Element interface { //两个节点比较大小 //小于el -1 //大于el 1 //等于el 0 Compare(el interface{}) int }
type Node ¶
func BTreeSearch ¶
搜索以某个节点为根节点的BTree中是否存在某个元素, 如果存在返回相应节点 不存在返回nil
Click to show internal directories.
Click to hide internal directories.