private void FreeNode_(int treap_node_index, int treap) { if (treap_node_index == NullNode()) { return; } m_treapData.DeleteElement(treap_node_index); }
internal virtual void FreeList_(int list) { m_lists.DeleteElement(list); }
// stores lists and list elements. // Each list element is Index, // Prev, next. // stores lists. Each list is Head, // Tail, PrevList, NextList, NodeCount, // ListData. internal virtual void FreeNode_(int node) { m_list_nodes.DeleteElement(node); }