|
An Introduction to Queues
With Examples in C++ |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
| Values: | Homogeneous elements of any type. | ||||||||||||||||||
| Operations: |
|
In addition,
if the stack has a "size limit", one could add an
isFull() operation; some people add a
peek() operation; and some people add a
makeEmpty() operation.