package trees
Import Path
github.com/emirpasic/gods/trees (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
Package trees provides an abstract Tree interface.
In computer science, a tree is a widely used abstract data type (ADT) or data structure implementing this ADT that simulates a hierarchical tree structure, with a root value and subtrees of children with a parent node, represented as a set of linked nodes.
Reference: https://en.wikipedia.org/wiki/Tree_%28data_structure%29
Package-Level Type Names (only one, which is exported)
Tree interface that all trees implement
( T) Clear()
( T) Empty() bool
( T) Size() int
( T) Values() []interface{}
*github.com/emirpasic/gods/trees/binaryheap.Heap
github.com/emirpasic/gods/containers.Container (interface)
github.com/emirpasic/gods/lists.List (interface)
*github.com/emirpasic/gods/lists/arraylist.List
T : github.com/emirpasic/gods/containers.Container
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |