Table of Contents

Class Steque<T>

Namespace
AlgorithmsSW
Assembly
AlgorithmsSW.dll

An implementation a linear container that allows insertion and removal at both ends.

[ExerciseReference(1, 3, 32)]
public class Steque<T> : IStack<T>, IEnumerable<T>, IEnumerable

Type Parameters

T

The type of elements in the steque.

Inheritance
Steque<T>
Implements
Inherited Members
Extension Methods

Properties

Count

public int Count { get; }

Property Value

int

Peek

public T Peek { get; }

Property Value

T

Methods

Clear()

public void Clear()

Enqueue(T)

public void Enqueue(T item)

Parameters

item T

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.

Pop()

public T Pop()

Returns

T

Push(T)

public void Push(T item)

Parameters

item T