public void destroy() { JavaSystem.memoryRecords++; clearNonPrimaryNodes(); NodeAVL n = nPrimaryNode.nNext; while (n != null) { NodeAVL last = n; n = n.nNext; last.nNext = null; } nPrimaryNode = null; }
public final void indexRows() { RowIterator it = rowIterator(); for (int i = 1; i < indexList.length; i++) { setAccessor(indexList[i], null); } while (it.hasNext()) { Row row = it.getNextRow(); ((RowAVL) row).clearNonPrimaryNodes(); for (int i = 1; i < indexList.length; i++) { indexList[i].insert(null, this, row); } } }