Interface IStack<T>
The interface describing the operations of a LIFO stack data structure.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public interface IStack<T> : IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, Collections.Generic.IEnumerable<T>
Type Parameters
Name | Description |
---|---|
T | The item type |
Properties
Name | Description |
---|---|
AllowsDuplicates | |
Item[Int32] | Get the 'th element of the stack. The bottom of the stack has index 0.
|
Methods
Name | Description |
---|---|
Pop() | Pop the item at the top of the stack from the stack. |
Push(T) | Push an item to the top of the stack. |