Table of Contents

Class DequeWithDoublyLinkedList<T>

Namespace
AlgorithmsSW.Deque
Assembly
AlgorithmsSW.dll
[ExerciseReference(1, 3, 33)]
public class DequeWithDoublyLinkedList<T> : IDeque<T>, IEnumerable<T>, IEnumerable

Type Parameters

T
Inheritance
DequeWithDoublyLinkedList<T>
Implements
Inherited Members
Extension Methods

Properties

Count

Gets the number of elements in the deque.

public int Count { get; }

Property Value

int

PeekLeft

public T PeekLeft { get; }

Property Value

T

PeekRight

public T PeekRight { get; }

Property Value

T

Methods

Clear()

public void Clear()

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

An enumerator that can be used to iterate through the collection.

PopLeft()

public T PopLeft()

Returns

T

PopRight()

public T PopRight()

Returns

T

PushLeft(T)

public void PushLeft(T item)

Parameters

item T

PushRight(T)

public void PushRight(T item)

Parameters

item T

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.