public void AddTail(ListItem item) { if( m_tail != null ){ m_tail.m_pNext = item; item.m_pPrev = m_tail; } if( m_head == null ) m_head = item; m_tail = item; }
public ListItem() { m_pNext = null; m_pPrev = null; }
public void RemoveAll() { m_head = null; m_tail = null; }
public ListAnchor() { m_head = null; m_tail = null; }