Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryTree ¶
type BinaryTree struct {
// contains filtered or unexported fields
}
func New ¶
func New(compareFun Comparable) *BinaryTree
func (*BinaryTree) Insert ¶
func (tree *BinaryTree) Insert(value interface{})
func (*BinaryTree) Search ¶
func (tree *BinaryTree) Search(value interface{}) *BinaryTree
type Comparable ¶
type Comparable func(c1 interface{}, c2 interface{}) bool
Click to show internal directories.
Click to hide internal directories.