Click or drag to resize
LimitedStackT Class
Implements generic limited size Stack
Inheritance Hierarchy
SystemObject
  System.Collections.GenericLinkedListT
    EmptyKeys.UserInterfaceLimitedStackT

Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.Core (in EmptyKeys.UserInterface.Core.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public class LimitedStack<T> : LinkedList<T>

Type Parameters

T

The LimitedStackT type exposes the following members.

Constructors
  NameDescription
Public methodLimitedStackT
Initializes a new instance of the LimitedStackT class.
Public methodLimitedStackT(Int32)
Initializes a new instance of the LimitedStackT class.
Top
Properties
  NameDescription
Public propertyCount (Inherited from LinkedListT.)
Public propertyFirst (Inherited from LinkedListT.)
Public propertyLast (Inherited from LinkedListT.)
Public propertyMaxSize
Gets or sets the maximum size.
Top
Methods
  NameDescription
Public methodAddAfter(LinkedListNodeT, T) (Inherited from LinkedListT.)
Public methodAddAfter(LinkedListNodeT, LinkedListNodeT) (Inherited from LinkedListT.)
Public methodAddBefore(LinkedListNodeT, T) (Inherited from LinkedListT.)
Public methodAddBefore(LinkedListNodeT, LinkedListNodeT) (Inherited from LinkedListT.)
Public methodAddFirst(T) (Inherited from LinkedListT.)
Public methodAddFirst(LinkedListNodeT) (Inherited from LinkedListT.)
Public methodAddLast(T) (Inherited from LinkedListT.)
Public methodAddLast(LinkedListNodeT) (Inherited from LinkedListT.)
Public methodClear (Inherited from LinkedListT.)
Public methodContains (Inherited from LinkedListT.)
Public methodCopyTo (Inherited from LinkedListT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Finds the first node that contains the specified value.
(Inherited from LinkedListT.)
Public methodFindLast
Finds the last node that contains the specified value.
(Inherited from LinkedListT.)
Public methodGetEnumerator (Inherited from LinkedListT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPeek
Returns the item at the top of the stack.
Public methodPop
Removes and returns the item at the top of the stack.
Public methodPush
Inserts an item at the top of the Stack and removes last if count is bigger than MaxSize.
Public methodRemove(T) (Inherited from LinkedListT.)
Public methodRemove(LinkedListNodeT) (Inherited from LinkedListT.)
Public methodRemoveFirst (Inherited from LinkedListT.)
Public methodRemoveLast (Inherited from LinkedListT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also