Data Structures & Other Objects Using Java
This 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.
Results 1-3 of 87
1 7 continued) public Object clone( ) 1 1 See the implementation in Figure 4. 1 3
on page 217. public int countOccurrences(int target) | See the implementation in
Figure 4. 1 5 on page 222. public int grab( ) | See the implementation in Figure 4.
Here's an example to show how an integer is placed into an Integer object and
taken back out: int i = 42; int j; Integer ... Short public Short(short value) public
short shortValue( ) Integer public Integer (int value) public int intValue( ) Long
public int indexOf (Object obj) Searches for the first occurrence of obj in this
Vector, using obj . equal s to test for equality. Returns the index of this occurence
(or -1 if obj does not occur). public int indexOf (Object obj, int index) Searches for
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown