Gary Cornell曾经撰写或与人合著过20多本计算机畅销书。他是Brown大学的博士,在IBM的Watson实验室做过访问科学家,曾任康沓狄格大学的教授。
目录
· · · · · ·
Preface
Acknowledgments
Chapter 1: Streams
1.1 From Iterating to Stream Operations
1.2 Stream Creation
· · · · · ·
(更多)
Preface
Acknowledgments
Chapter 1: Streams
1.1 From Iterating to Stream Operations
1.2 Stream Creation
1.3 The filter, map, and flatMap Methods
1.4 Extracting Substreams and Combining Streams
1.5 Other Stream Transformations
1.6 Simple Reductions
1.7 The Optional Type
1.8 Collecting Results
1.9 Collecting into Maps
1.10 Grouping and Partitioning
1.11 Downstream Collectors
1.12 Reduction Operations
1.13 Primitive Type Streams
1.14 Parallel Streams
Chapter 2: Input and Output
2.1 Input/Output Streams
2.2 Reading and Writing Binary Data
2.3 Object Input/Output Streams and Serialization
2.4 Working with Files
2.5 Memory-Mapped Files
2.6 File Locking
2.7 Regular Expressions
Chapter 3: XML
3.1 Introducing XML
3.2 The Structure of an XML Document
3.3 Parsing an XML Document
3.4 Validating XML Documents
3.5 Locating Information with XPath
3.6 Using Namespaces
3.7 Streaming Parsers
3.8 Generating XML Documents
3.8.5 An Example: Generating an SVG File
3.9 XSL Transformations
Chapter 4: Networking
4.1 Connecting to a Server
4.2 Implementing Servers
4.3 Getting Web Data
4.4 The HTTP Client
4.5 Sending E-Mail
Chapter 5: Database Programming
5.1 The Design of JDBC
5.2 The Structured Query Language
5.3 JDBC Configuration
5.4 Working with JDBC Statements
5.5 Query Execution
5.6 Scrollable and Updatable Result Sets
5.7 Row Sets
5.8 Metadata
5.9 Transactions
5.10 Connection Management in Web and Enterprise Applications
Chapter 6: The Date and Time API
6.1 The Time Line
6.2 Local Dates
6.3 Date Adjusters
6.4 Local Time
6.5 Zoned Time
6.6 Formatting and Parsing
6.7 Interoperating with Legacy Code
Chapter 7: Internationalization
7.1 Locales
7.2 Number Formats
7.3 Date and Time
7.4 Collation and Normalization
7.5 Message Formatting
7.6 Text Input and Output
7.7 Resource Bundles
7.8 A Complete Example
Chapter 8: Scripting, Compiling, and Annotation Processing
8.1 Scripting for the Java Platform
8.2 The Compiler API
8.3 Using Annotations
8.4 Annotation Syntax
8.5 Standard Annotations
8.6 Source-Level Annotation Processing
8.7 Bytecode Engineering
Chapter 9: The Java Platform Module System
9.1 The Module Concept
9.2 Naming Modules
9.3 The Modular “Hello, World!” Program
9.4 Requiring Modules
9.5 Exporting Packages
9.6 Modular JARs
9.7 Modules and Reflective Access
9.8 Automatic Modules
9.9 The Unnamed Module
9.10 Command-Line Flags for Migration
9.11 Transitive and Static Requirements
9.12 Qualified Exporting and Opening
9.13 Service Loading
9.14 Tools for Working with Modules
Chapter 10: Security
10.1 Class Loaders
10.2 Security Managers and Permissions
10.3 User Authentication
10.4 Digital Signatures
10.5 Encryption
Chapter 11: Advanced Swing and Graphics
11.1 Tables
11.2 Trees
11.3 Advanced AWT
11.4 Raster Images
11.5 Printing
Chapter 12: Native Methods
12.1 Calling a C Function from a Java Program
12.2 Numeric Parameters and Return Values
12.3 String Parameters
12.4 Accessing Fields
12.5 Encoding Signatures
12.6 Calling Java Methods
12.7 Accessing Array Elements
12.8 Handling Errors
12.9 Using the Invocation API
12.10 A Complete Example: Accessing the Windows Registry
The last method is the most important. Permissions have an ordering, in which more general permissions imply more specific ones. Consider the file permission
p1 = new FilePermission("/tmp/-", "read, write");
This permission allows reading and writing of any file in the /tmp directory and any of its subdirectories.
This permission implies other, more specific permissions:
p2 = new FilePermission("/tmp/-", "read");
p3 = new FilePermission("/tmp/aFile", "read, write");
p4 = new FilePermission("/tmp/aDirectory/-", "write");
In other words, a file permission p1 implies another file permission p2 if
The target file set of p1 contains the target file set of p2.
The action set of p1 contains the action set of p2. (查看原文)
《Java核心技术卷2(第十二版)》是Cay S. Horstmann著的一本深入讲解Java编程技术的书籍。 这本书以其全面而深入的内容给我留下了深刻的印象。书中详细讨论了Java高级技术和库的使用,涵盖了多线程编程、网络编程、GUI编程、数据库访问、XML处理、Web服务等各个方面。每个主题...
(展开)
0 有用 eleven 2022-04-01 09:10:05
介绍了Java 的高级特性并提供了通用问题的解决方式,罗列api的用法,但是想要了解这些api的设计意图往往不如自己打断点调试或者看源码的注释更能加深理解,不过书中的例子写的还不错
0 有用 jhl1789 2020-09-17 13:32:52
应用工具书,刚花几十个小时把12两册英文的读完就转岗不搞java了o(╥﹏╥)o