This chapter introduces linked structures. The structures in this chapter are made from chains of nodes, connected by references. These nodes are introduced in Section 6.1. The Stack and Queue interfaces are implemented in Section 6.2 and the List interface in Section 6.3. Finally, in Section 6.4, we examine the linked structures in the Java collections framework.
List Nodes |
Part I: Object-Oriented Programming
Encapsulation
Polymorphism
Inheritance
Part II: Linear Structures
Stacks and Queues
Array-Based Structures
Linked Structures
Part III: Algorithms
Analysis of Algorithms
Searching and Sorting
Recursion
Part IV: Trees and Sets
Trees
Sets
Part V: Advanced Topics
Advanced Linear Structures
Strings
Advanced Trees
Graphs
Memory Management
Out to the Disk
Part VI: Appendices
A. Review of Java
B. Unified Modeling Language
C. Summation Formulae
D. Further Reading
Index