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