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

Abstract Searchable Containers

Program gif introduces an abstract class called AbstractSearchableContainer. It is intended to be used as the base class from which concrete searchable container realizations are derived. As illustrated in Figure gif, the AbstractSearchableContainer class extends the AbstractContainer class (defined in Program gif) and it implements the SearchableContainer interface (defined in Program gif).

   program4852
Program: AbstractSearchableContainer class.


next up previous contents index

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