예제 #1
0
 internal Enumerator(CustomQueue <T> queue)
 {
     _queue          = queue;
     _version        = _queue._version;
     _index          = -1;
     _currentElement = default(T);
 }
예제 #2
0
 public CustomIterator(CustomQueue <T> queue)
 {
     _currentQueue = queue;
     _currentIndex = queue._start - 1;
 }