Exemple #1
0
 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;
 }
Exemple #2
0
 public ListItem()
 {
     m_pNext = null;
     m_pPrev = null;
 }
Exemple #3
0
 public void RemoveAll()
 {
     m_head = null;
     m_tail = null;
 }
Exemple #4
0
 public ListAnchor()
 {
     m_head = null;
     m_tail = null;
 }