Documentation
¶
Index ¶
- type TreeMap
- func (t *TreeMap[K, V]) Clear()
- func (t *TreeMap[K, V]) ContainsKey(key K) bool
- func (t *TreeMap[K, V]) ContainsValue(value V) bool
- func (t *TreeMap[K, V]) FindNode(value V) *TreeNode[K, V]
- func (t *TreeMap[K, V]) GetKey(value V) K
- func (t *TreeMap[K, V]) GetNode(key K) *TreeNode[K, V]
- func (t *TreeMap[K, V]) GetValue(key K) V
- func (t *TreeMap[K, V]) Put(key K, value V) V
- func (t *TreeMap[K, V]) Size() int
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeMap ¶
type TreeMap[K, V any] struct { // contains filtered or unexported fields }
func New ¶
func New[K, V any](keyCompare structs.CompareFunc[K], valueCompare structs.CompareFunc[V]) *TreeMap[K, V]
func (*TreeMap[K, V]) ContainsKey ¶
func (*TreeMap[K, V]) ContainsValue ¶
Click to show internal directories.
Click to hide internal directories.