コード例 #1
0
 public bool MoveNext()
 {
     if (StayHere == true)
     {
         StayHere = false;
         return(head != null);
     }
     current = current.next;
     if (current == null)
     {
         return(false);
     }
     return(true);
 }
コード例 #2
0
 public void Reset()
 {
     current  = head;
     StayHere = true;
 }
コード例 #3
0
 public GenListIterator(GenListContainer <T> .Node <T> head)
 {
     current   = head;
     this.head = head;
 }