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

Array Implementation

 

This section presents an array-based implementation of ordered lists. Program gif introduces the OrderedListAsArray class. The OrderedListAsArray class extends the AbstractSearchableContainer class introduced in Program gif and it implements the OrderedList interface defined in Program gif.

   program8687
Program: OrderedListAsArray fields.




next up previous contents index

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