Click or drag to resize
LinkedStack<Item> Methods

The LinkedStack< Item> generic type exposes the following members.

Methods
  NameDescription
Public methodGetEnumerator
Returns an iterator that iterates over the items in this queue in FIFO order.
Public methodStatic memberMainTest
Demo test the LinkedStack data type.
Public methodPeek
Returns (but does not remove) the item most recently added to this stack.
Public methodPop
Removes and returns the item most recently added to this stack.
Public methodPush
Adds the item to this stack.
Public methodToString
Returns a string representation of this stack.
(Overrides Object.ToString().)
Top
See Also