Abstract
In this section we present an example that uses generic packages to provide routines to search a table and to retrieve the items stored there. The table, and auxiliary data objects created to help the search, are encapsulated within a package created by instantiating a generic package. They are not accessible except by the routines exported from that package. A program may have several tables that it can search; a package must be instantiated for each table, and the routines which are exported act specifically upon the table within the corresponding package.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1981 Springer-Verlag New York Inc.
About this chapter
Cite this chapter
Hibbard, P., Hisgen, A., Rosenberg, J., Shaw, M., Sherman, M. (1981). Table Creation and Table Searching. In: Studies in Ada Style. Springer, New York, NY. https://doi.org/10.1007/978-1-4684-0139-4_7
Download citation
DOI: https://doi.org/10.1007/978-1-4684-0139-4_7
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-90628-7
Online ISBN: 978-1-4684-0139-4
eBook Packages: Springer Book Archive