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