Table of Contents

Class StackExtensions

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Extension of Stack<T> helper to work with specific IEqualityComparer<T>

public static class StackExtensions
Inheritance
StackExtensions
Inherited Members

Methods

Contains<T>(Stack<T>, T, IEqualityComparer<T>)

Check if the stack object contains the value to find.

FindDuplicates<T>(Stack<T>, IEqualityComparer<T>)

Find all duplicates stack objects values.

MoveNext<T>(Stack<T>)

Move the first stack object value to the end.

MovePrevious<T>(Stack<T>)

Move the last stack object value to the top.

MoveTo<T>(Stack<T>, T, int, IEqualityComparer<T>)

Move the stack object value to the index.

Replace<T>(Stack<T>, T, T, IEqualityComparer<T>)

Replaces an stack object values that match with the value to replace.

Swap<T>(Stack<T>, T, T, IEqualityComparer<T>)

Swap two stack objects values that matches with the both values.