Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TernarySearchTree<K, V>

Type Parameters

  • K

  • V

Hierarchy

  • TernarySearchTree

Index

Constructors

Properties

_iter: IKeyIterator<K>
_root: undefined | TernarySearchTreeNode<K, V>

Methods

  • _forEach(node: undefined | TernarySearchTreeNode<K, V>, callback: ((value: V, index: K) => any)): void
  • _nodeIterator(node: TernarySearchTreeNode<K, V>): Iterator<V, any, undefined>
  • clear(): void
  • delete(key: K): void
  • findSubstr(key: K): undefined | V
  • findSuperstr(key: K): undefined | Iterator<V, any, undefined>
  • forEach(callback: ((value: V, index: K) => any)): void
  • get(key: K): undefined | V
  • set(key: K, element: V): undefined | V