Example #1
0
 public SynchronizedDeque(Deque <T> deque)
 {
     _deque = deque ?? throw new ArgumentNullException(nameof(deque));
     _root  = deque.SyncRoot;
 }
Example #2
0
 public Enumerator(Deque <T> owner)
 {
     _owner       = owner;
     _currentNode = owner._front;
     _version     = owner._version;
 }