//Overloaded Constructor public BookRecord(String name, long sn, int cl, double c) { this.m_sName = name; this.m_iClassification = cl; this.m_lStockNum = sn; this.m_dCost = c; this.m_iCount = 1; this.m_pNext = null; return; }
//Default Constructor public BookRecord() { this.m_sName = ""; this.m_iClassification = 0; this.m_lStockNum = 0; this.m_dCost = 0; this.m_iCount = 0; this.m_pNext = null; return; }
//Sets the next node public void setNext(BookRecord next) { BookRecord temp; temp = next; m_pNext = temp; }
//Sets the next node public void setRight(BookRecord right) { BookRecord temp; temp = right; m_pRight = temp; }
//Sets the next node public void setLeft(BookRecord left) { BookRecord temp; temp = left; m_pLeft = temp; }