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