private int NewNode_(int element) { Touch_(); int newNode = m_treapData.NewElement(); SetPriority_(newNode, GeneratePriority_()); SetElement_(newNode, element); return(newNode); }
internal virtual int NewList_() { int list = m_lists.NewElement(); return(list); }
internal virtual int NewNode_() { int node = m_list_nodes.NewElement(); return(node); }