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

Array Implementation

The SortedListAsArray class is introduced in Program gif. The SortedListAsArray class extends the OrderedListAsArray class introduced in Program gif and it implements the SortedList interface defined in Program gif.

   program9881
Program: SortedListAsArray class.

There are no addition fields required to implement the SortedListAsArray class. That is, the fields provided by the base class OrderedListAsArray are sufficient.




next up previous contents index

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