public void RemoveAt(int index) { RBOrderedMultiTree <T1> mTree = this.mTree as RBOrderedMultiTree <T1>; if (mTree == null) { return; } RBOrderedTreeNode <T1> byOrder = mTree.GetByOrder(index); if (byOrder == null) { return; } mTree.Delete((RBTreeNodeBase <T1, RBOrderedNodeParam>)byOrder); }
public void RemoveAt(int index) { RBOrderedMultiTree <T1> multiTree = mTree as RBOrderedMultiTree <T1>; if (multiTree == null) { return; } RBOrderedTreeNode <T1> node = multiTree.GetByOrder(index); if (node != null) { multiTree.Delete(node); } }