Đang chuẩn bị liên kết để tải về tài liệu:
Java Structures Data Structures in Java for the Principled Programmer
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
The second edition of Duane Bailey's Java Structures considers the design, implementation, and use of data structures using Java 2. The structure package, a collection of nearly 100 different classes implementing a wide variety of data structures, has been the basis of Java Structures for more than five years. Thousands of faculty, students, researchers, industrial and recreational programmers have investigated this lean and well tested approach to data structure design. | Java Structures Data Structures in Java for the Principled Programmer The V7 Edition Software release 33 Duane A. Bailey Williams College September 2007 This ựĩ text copyrighted 2005-2007 by All rights are reserved by The Author. No part of this draft publiciation may be reproduced or distributed in any form without prior written consent of the author. Contents Preface to First Edition xi Preface to the Second Edition xiii Preface to the Root 7 Edition xv 0 Introduction 1 0.1 Read Me. 1 0.2 He Can t Say That Can He . 2 1 The Object-Oriented Method 5 1.1 Data Abstraction and Encapsulation. 6 1.2 The Object Model. 7 1.3 Object-Oriented Terminology. 8 1.4 A Special-Purpose Class A Bank Account. 11 1.5 A General-Purpose Class An Association. 14 1.6 Sketching an Example A Word List . 18 1.7 Sketching an Example A Rectangle Class . 20 1.8 Interfaces . 22 1.9 Who Is the User . 24 1.10 Conclusions . 25 1.11 Laboratory The Day of the Week Calculator . 29 2 Comments Conditions and Assertions 33 2.1 Pre- and Postconditions . 34 2.2 Assertions. 34 2.3 Craftsmanship . 36 2.4 Conclusions . 37 2.5 Laboratory Using Javadoc Commenting . 39 3 Vectors 43 3.1 The Interface . 45 3.2 Example The Word List Revisited . 47 3.3 Example Word Frequency . 48 3.4 The Implementation . 50 3.5 Extensibility A Feature . 53 3.6 Example L-Systems . 56 3.7 Example Vector-Based Sets . 57 3.8 Example The Matrix Class . 60 3.9 Conclusions . .