Data Structures and Other Objects Using JavaThis book takes a gentle approach to the data structures course in Java. It offers an early, self-contained review of object-oriented programming and Java to give students a firm grasp of key concepts, and allows those experienced in other languages to adjust easily. The book also offers a flexibility which allows professors such options as emphasizing object-oriented programming, covering recursion and sorting early or accelerating the pace of the course. This title meets the needs of professors searching for a book to balance the introduction of object-oriented programming and data structures with Java. The new edition has been updated to cover Java 1.3 and includes new appendices with more reference material on such topics as Java collections. It also features increased coverage of object-oriented programming and inheritance. New exercises on radix sort and shell sort have also been added. |
From inside the book
Results 1-3 of 87
... copy of this list : copy IntNode.listCopy ( shortList ) ; = At this point , we have two separate lists : shortList 10 20 20 null 10 20 20 null why is listCopy a static method ? listCopy With Tail copy Keep in mind that listCopy is a ...
... copy a list and obtain access to both the head and tail nodes of the copy . As an example , a program can create a small list and then create a copy with both a head and tail reference for the copy : IntNode shortList ; IntNode copyInfo ...
... copy of the linked list starting at source . The return value is the head reference for the copy . Throws : OutOfMemoryError Indicates that there is insufficient memory for the new list . list Copy With Tail public static Node ...
Contents
CHAPTER | 2 |
LEARNING OBJECTIVES | 14 |
Java Classes and Information Hiding | 40 |
Copyright | |
44 other sections not shown