Java Software Structures: Designing and Using Data StructuresThe second edition of Java Software Structures embraces the enhancements of Java 5.0, where all structures and collections are based on generics. The framework of the text walks the reader through three main areas: conceptualization, explanation, and implementation, allowing for a consistent and coherent introduction to data structures. The addition of integrated case studies provides complete examples to aid readers starting with the problem statement, to design rationale, through full implementation. Readers will learn how to develop high-quality software systems using well-designed collections and algorithms. |
From inside the book
Results 1-3 of 53
Page 163
... boolean blackj ( ) { boolean result = false ; if ( player.getHandValue ( ) == 21 ) result = true ; return result ; } // end blackj ** / bust method - tests a given player's hand to see if they have gone over 21 . public boolean bust ...
... boolean blackj ( ) { boolean result = false ; if ( player.getHandValue ( ) == 21 ) result = true ; return result ; } // end blackj ** / bust method - tests a given player's hand to see if they have gone over 21 . public boolean bust ...
Page 337
... boolean value that indicates whether or not the target element was found . // // Searches the specified array of objects using a linear search algorithm . public boolean linearSearch ( T [ ] data , int min , { int index = min ; boolean ...
... boolean value that indicates whether or not the target element was found . // // Searches the specified array of objects using a linear search algorithm . public boolean linearSearch ( T [ ] data , int min , { int index = min ; boolean ...
Page 536
... boolean boolean Set boolean Object Description Constructs a new , empty identity hash map with a default expected maximum size ( 21 ) . Constructs a new , empty map with the specified expected maximum size . Constructs a new identity ...
... boolean boolean Set boolean Object Description Constructs a new , empty identity hash map with a default expected maximum size ( 21 ) . Constructs a new , empty map with the specified expected maximum size . Constructs a new identity ...
Other editions - View all
Java Software Structures: Designing and Using Data Structures John Lewis,Joseph Chase No preview available - 2004 |
Common terms and phrases
abstract data type abstract methods addAll addElement ancestor tree array implementation ArraySet<T AVL tree B-tree binary search tree binary tree BlackJack boolean Card Chapter child class class hierarchy complexity constructor contains count create data structure deck declared defined dequeue disks doubly linked list element stored empty evaluation example exception Figure graph hash table heap ImageIcon inheritance insertion instantiated integer interface invoked isEmpty iterator Java Collections API Key Concept left child Lewis/Chase LIBRARIES linear linked implementation linked list loop ment node null number of elements operand operation parameter parent particular path player position postfix expression problem provides public class public void queue radix sort recursive remove removeRandom represent return result Returns true right child root SAN DIEGO Self-Review Questions set collection sort algorithm stack static String System.out.println throw tion toString traversal UML description undirected graph waterfall model web crawler