Data Structures and Other Objects Using JavaMichael Main's gentle approach to data structures and objects has introduced thousands of beginning programmers to foundational data structures using the practical Java language. This Third Edition makes the most of the enhancements and advantages of Java 5.0 including the use of generic data types. An early group of chapters reviews the key aspects of object-oriented programming giving students the foundation for understanding significant programming concepts. With this framework they are able to accomplish writing functional data structures by using a five-step method for working with data types; understanding the data type abstractly, writing a specification, using the data type, designing and implementing the data type, and analyzing the implementation. Students learn to think analytically about the efficiency and efficacy of design while gaining exposure to useful Java classes libraries. The flexibility of Data Structures and Other Objects Using Java allows instructors to structure their course around a certain emphasis, such as early coverage of recursion and sorting, or to accelerate the pace of the course. |
From inside the book
Results 1-3 of 83
... remove a midlist node , we must set up a reference to the node that is just before the node we are removing . For example , to remove the 42 from the following list , we would need to set up selection as shown here : head selection 10 ...
... removed from the queue so that , when remove returns , the list will have only three items shown here : front Item B Item Item C D null rear The implementation of remove uses the technique from page 176 to remove a node from the head ...
... removed ) . Example : If n is a reference to a node in a tree and n has a right child , then we can remove the leftmost node of n's right subtree with this statement : n.setRight ( n.getRight ( ) . removeLeftmost ( ) ) ; Let's look at ...
Contents
CHAPTER | 2 |
The Phases of Software Development | 4 |
CHAPTER CONTENTS | 13 |
Copyright | |
62 other sections not shown