Data Structures and Algorithms with Object-Oriented Design Patterns in C#
next up previous contents index

Fields

The StackAsArray class contains one field--an array of objects called array. In addition, the StackAsArray class inherits the count field from the AbstractContainer class. In the array implementation of the stack, the elements contained in the stack occupy positions 0, 1, ..., tex2html_wrap_inline60457 of the array.


next up previous contents index

Bruno Copyright © 2001 by Bruno R. Preiss, P.Eng. All rights reserved.