欢迎光临澳大利亚新华书店网 [登录 | 免费注册]

    • Java核心技术(卷Ⅱ高级特性上下第11版英文版)
      • 作者:(美)凯·S.霍斯特曼|责编:杨海玲
      • 出版社:人民邮电
      • ISBN:9787115526410
      • 出版日期:2020/02/01
      • 页数:871
    • 售价:63.6
  • 内容大纲

        本书是经典的《Java核心技术卷Ⅱ:高级特性》的新版。这一版对全书进行了全面更新,以反映Java SE 9、Java SE 10和Java SE 11的特性。
        本书是Java技术权威指南,全面覆盖Java技术的高级主题,包括流,输入与输出,XML,网络API,数据库编程,日期与时间API,国际化,脚本、编译与注解处理,Java平台模块系统,安全,本地方法等内容。本书对Java技术的阐述精确到位,叙述方式深入浅出,并包含大量程序示例,从而帮助读者充分理解Java语言以及Java类库的相关高级特性。
        本书适合想将Java应用于实际项目的软件开发人员、高等院校教师和学生参考阅读。
  • 作者介绍

  • 目录

    Chapter 1:Streams / 流
      1.1  From Iterating to Stream Operations / 从迭代到流操作
      1.2  Stream Creation / 流的创建
      1.3  The filter, map, and flatMap Methods / filter、map和flatMap方法
      1.4  Extracting Substreams and Combining Streams / 提取子流和组合流
      1.5  Other Stream Transformations / 其他流变换
      1.6  Simple Reductions / 简单规约
      1.7  The Optional Type / Optional类型
        1.7.1  Getting an Optional Value / 获得Optional值
        1.7.2  Consuming an Optional Value / 消耗Optional值
        1.7.3  Pipelining Optional Values / 流水线式的使用Optional值
        1.7.4  How Not to Work with Optional Values / 避免错误使用Optional值
        1.7.5  Creating Optional Values / 创建Optional值
        1.7.6  Composing Optional Value Functions with flatMap / 使用flatMap组合Optional值函数
        1.7.7  Turning an Optional into a Stream / 将Optional值变到流中
      1.8  Collecting Results / 收集结果
      1.9  Collecting into Maps / 收集到Map中
      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.1.1  Reading and Writing Bytes / 读写字节
        2.1.2  The Complete Stream Zoo / 流谱系概览
        2.1.3  Combining Input/Output Stream Filters / 组合输入/输出流过滤器
        2.1.4  Text Input and Output / 文本输入与输出
        2.1.5  How to Write Text Output / 输出文本
        2.1.6  How to Read Text Input / 输入文本
        2.1.7  Saving Objects in Text Format / 以文本格式保存对象
        2.1.8  Character Encodings / 字符编码
      2.2  Reading and Writing Binary Data / 读写二进制数据
        2.2.1  The DataInput and DataOutput interfaces / DataInput和DataOutput接口
        2.2.2  Random-Access Files / 随机访问文件
        2.2.3  ZIP Archives / ZIP文档
      2.3  Object Input/Output Streams and Serialization / 对象输入/输出流与序列化
        2.3.1  Saving and Loading Serializable Objects / 序列化对象的保存与加载
        2.3.2  Understanding the Object Serialization File Format / 理解对象序列化文件格式
        2.3.3  Modifying the Default Serialization Mechanism / 修改默认的序列化机制
        2.3.4  Serializing Singletons and Typesafe Enumerations / 序列化单例和类型安全的枚举
        2.3.5  Versioning / 版本管理
        2.3.6  Using Serialization for Cloning / 将序列化用于克隆
      2.4  Working with Files / 处理文件
        2.4.1  Paths / 路径
        2.4.2  Reading and Writing Files / 读写文件
        2.4.3  Creating Files and Directories / 创建文件和目录
        2.4.4  Copying, Moving, and Deleting Files / 复制、移动和删除文件
        2.4.5  Getting File Info
        2.4.7  Using Directory Streams / 使用目录流
        2.4.8  ZIP File Systems / ZIP文件系统
      2.5  Memory-Mapped Files / 内存映射文件
        2.5.1  Memory-Mapped File Performance / 内存映射文件的性能
        2.5.2  The Buffer Data Structure / 缓冲区数据结构
      2.6  File Locking / 文件锁
      2.7  Regular Expressions / 正则表达式
        2.7.1  The Regular Expression Syntax / 正则表达式语法
        2.7.2  Matching a String / 匹配字符串
        2.7.3  Finding Multiple Matches / 寻找多个匹配字符串
        2.7.4  Splitting along Delimiters / 使用分隔符分解
        2.7.5  Replacing Matches / 替换掉匹配字符串
    Chapter 3:XML
      3.1  Introducing XML / XML简介
      3.2  The Structure of an XML Document / XML文档的结构
      3.3  Parsing an XML Document / 解析XML文档
      3.4  Validating XML Documents / 验证XML文档
        3.4.1  Document Type Definitions / 文档类型定义
        3.4.2  XML Schema / XML模式
        3.4.3  A Practical Example / 实用示例
      3.5  Locating Information with XPath / 使用XPath定位信息
      3.6  Using Namespaces / 使用命名空间
      3.7  Streaming Parsers / 流解析器
        3.7.1  Using the SAX Parser / 使用SAX解析器
        3.7.2  Using the StAX Parser / 使用StAX解析器
      3.8  Generating XML Documents / 生成XML文档
        3.8.1  Documents without Namespaces / 不带命名空间的文档
        3.8.2  Documents with Namespaces / 带命名空间的文档
        3.8.3  Writing Documents / 写文档
        3.8.4  Writing an XML Document with StAX / 使用StAX写XML文档
        3.8.5  An Example:Generating an SVG File / 示例:生成SVG文件
      3.9  XSL Transformations / XSL转换
    Chapter 4:Networking / 网络
      4.1  Connecting to a Server / 连接到服务器
        4.1.1  Using Telnet / 使用Telnet
        4.1.2  Connecting to a Server with Java / 使用Java连接到服务器
        4.1.3  Socket Timeouts / 套接字超时
        4.1.4  Internet Addresses / 因特网地址
      4.2  Implementing Servers / 实现服务器
        4.2.1  Server Sockets / 服务器套接字
        4.2.2  Serving Multiple Clients / 服务多个客户端
        4.2.3  Half-Close / 半关闭
        4.2.4  Interruptible Sockets / 可中断套接字
      4.3  Getting Web Data / 获取Web数据
        4.3.1  URLs and URIs / URL和URI
        4.3.2  Using a URLConnection to Retrieve Information / 使用URLConnection获取信息
        4.3.3  Posting Form Data / 提交表单数据
      4.4  The HTTP Client / HTTP客户端
      4.5  Sending E-Mail / 发送E-Mail
    Chapter 5:Database Programming / 数据库编程

      5.1  The Design of JDBC / JDBC的设计
        5.1.1  JDBC Driver Types / JDBC驱动程序分类
        5.1.2  Typical Uses of JDBC / JDBC的典型用法
      5.2  The Structured Query Language / 结构化查询语言
      5.3  JDBC Configuration / JDBC配置
        5.3.1  Database URLs / 数据库URL
        5.3.2  Driver JAR Files / 驱动程序JAR文件
        5.3.3  Starting the Database / 启动数据库
        5.3.4  Registering the Driver Class / 注册驱动程序类
        5.3.5  Connecting to the Database / 连接到数据库
      5.4  Working with JDBC Statements / 使用JDBC语句
        5.4.1  Executing SQL Statements / 执行SQL语句
        5.4.2  Managing Connections, Statements, and Result Sets / 管理连接、语句和结果集
        5.4.3  Analyzing SQL Exceptions / 分析SQL异常
        5.4.4  Populating a Database / 填充数据库
      5.5  Query Execution / 执行查询
        5.5.1  Prepared Statements / 预备语句
        5.5.2  Reading and Writing LOBs / 读写LOB
        5.5.3  SQL Escapes / SQL转义
        5.5.4  Multiple Results / 多结果集
        5.5.5  Retrieving Autogenerated Keys / 获取自动生成的主键
      5.6  Scrollable and Updatable Result Sets / 可滚动和可更新的结果集
        5.6.1  Scrollable Result Sets / 可滚动的结果集
        5.6.2  Updatable Result Sets / 可更新的结果集
      5.7  Row Sets / 行集
        5.7.1  Constructing Row Sets / 构建行集
        5.7.2  Cached Row Sets / 缓存的行集
      5.8  Metadata / 元数据
      5.9  Transactions / 事务
        5.9.1  Programming Transactions with JDBC / 使用JDBC编程实现事务
        5.9.2  Save Points / 保存点
        5.9.3  Batch Updates / 批量更新
        5.9.4  Advanced SQL Types / 高级SQL类型
      5.10  Connection Management in Web and Enterprise Applications / Web与企业应用中的连接管理
    Chapter 6:The Date and Time API / 日期与时间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.1.1  Why Locales / 为什么要引入地域类
        7.1.2  Specifying Locales / 指定地域
        7.1.3  The Default Locale / 默认地域
        7.1.4  Display Names / 显示地域名
      7.2  Number Formats / 数字格式
        7.2.1  Formatting Numeric Values / 格式化数字值

        7.2.2  Currencies / 货币
      7.3  Date and Time / 日期与时间
      7.4  Collation and Normalization / 排序规则与标准化
      7.5  Message Formatting / 消息格式化
        7.5.1  Formatting Numbers and Dates / 格式化数字和日期
        7.5.2  Choice Formats / choice格式化选项
      7.6  Text Input and Output / 文本输入与输出
        7.6.1  Text Files / 文本文件
        7.6.2  Line Endings / 文本行结尾符号
        7.6.3  The Console / 控制台
        7.6.4  Log Files / 日志文件
        7.6.5  The UTF-8 Byte Order Mark / UTF-8字节顺序标记
        7.6.6  Character Encoding of Source Files / 源文件的字符编码
      7.7  Resource Bundles / 资源包
        7.7.1  Locating Resource Bundles / 定位资源包
        7.7.2  Property Files / 属性文件
        7.7.3  Bundle Classes / 包类
      7.8  A Complete Example / 完整示例
    Chapter 8:Scripting, Compiling, and Annotation Processing / 脚本、编译与注解处理
      8.1  Scripting for the Java Platform / Java平台的脚本
        8.1.1  Getting a Scripting Engine / 获得脚本引擎
        8.1.2  Script Evaluation and Bindings / 脚本求值与绑定
        8.1.3  Redirecting Input and Output / 重定向输入输出
        8.1.4  Calling Scripting Functions and Methods / 调用脚本函数和方法
        8.1.5  Compiling a Script / 编译脚本
        8.1.6  An Example:Scripting GUI Events / 示例:用脚本处理GUI事件
      8.2  The Compiler API / 编译器API
        8.2.1  Invoking the Compiler / 调用编译器
        8.2.2  Launching a Compilation Task / 启动编译任务
        8.2.3  Capturing Diagnostics / 捕获诊断信息
        8.2.4  Reading Source Files from Memory / 从内存读取源文件
        8.2.5  Writing Byte Codes to Memory / 将字节码写入内存
        8.2.6  An Example:Dynamic Java Code Generation / 示例:动态Java代码生成
      8.3  Using Annotations / 使用注解
        8.3.1  An Introduction into Annotations / 注解简介
        8.3.2  An Example:Annotating Event Handlers / 示例:注解事件处理程序
      8.4  Annotation Syntax / 注解语法
        8.4.1  Annotation Interfaces / 注解接口
        8.4.2  Annotations / 注解
        8.4.3  Annotating Declarations / 在声明的地方使用注解
        8.4.4  Annotating Type Uses / 在类型使用的地方使用注解
        8.4.5  Annotating this / 对this做注解
      8.5  Standard Annotations / 标准注解
        8.5.1  Annotations for Compilation / 用于编译的注解
        8.5.2  Annotations for Managing Resources / 用于管理资源的注解
        8.5.3  Meta-Annotations / 元注解
      8.6  Source-Level Annotation Processing / 源码级注解处理
        8.6.1  Annotation Processors / 注解处理器
        8.6.2  The Language Model API / 语言模型API
        8.6.3  Using Annotations to Generate Source Code / 使用注解生成源代码

      8.7  Bytecode Engineering / 字节码工程
        8.7.1  Modifying Class Files / 修改类文件
        8.7.2  Modifying Bytecodes at Load Time / 在加载时修改字节码
    Chapter 9:The Java Platform Module System / Java平台模块系统
      9.1  The Module Concept / 模块概念
      9.2  Naming Modules / 命名模块
      9.3  The Modular“Hello, World!”Program / 模块化的“Hello, World!”程序
      9.4  Requiring Modules / 请求模块
      9.5  Exporting Packages / 导出包
      9.6  Modular JARs / 模块化的JAR文件
      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.1.1  The Class-Loading Process / 类加载流程
        10.1.2  The Class Loader Hierarchy / 类加载器层次结构
        10.1.3  Using Class Loaders as Namespaces / 将类加载器作为命名空间
        10.1.4  Writing Your Own Class Loader / 编写自己的类加载器
        10.1.5  Bytecode Verification / 字节码验证
      10.2  Security Managers and Permissions / 安全管理器与权限
        10.2.1  Permission Checking / 权限检查
        10.2.2  Java Platform Security / Java平台安全
        10.2.3  Security Policy Files / 安全策略文件
        10.2.4  Custom Permissions / 定制权限
        10.2.5  Implementation of a Permission Class / 实现权限类
      10.3  User Authentication / 用户认证
        10.3.1  The JAAS Framework / JAAS框架
        10.3.2  JAAS Login Modules / JAAS登录模块
      10.4  Digital Signatures / 数字签名
        10.4.1  Message Digests / 消息摘要
        10.4.2  Message Signing / 消息签名
        10.4.3  Verifying a Signature / 验证签名
        10.4.4  The Authentication Problem / 认证问题
        10.4.5  Certificate Signing / 证书签名
        10.4.6  Certificate Requests / 证书请求
        10.4.7  Code Signing / 代码签名
      10.5  Encryption / 加密
        10.5.1  Symmetric Ciphers / 对称密码
        10.5.2  Key Generation / 生成密钥
        10.5.3  Cipher Streams / 加密流
        10.5.4  Public Key Ciphers / 公钥密码
    Chapter 11:Advanced Swing and Graphics / 高级Swing和图形编程
      11.1  Tables / 表格
        11.1.1  A Simple Table / 简单表格

        11.1.2  Table Models / 表格模式
        11.1.3  Working with Rows and Columns / 行列操作
          11.1.3.1  Column Classes / 列类
          11.1.3.2  Accessing Table Columns / 访问表列
          11.1.3.3  Resizing Columns / 调整列
          11.1.3.4  Resizing Rows / 调整行
          11.1.3.5  Selecting Rows, Columns, and Cells / 选择行、列和单元格
          11.1.3.6  Sorting Rows / 对行进行排序
          11.1.3.7  Filtering Rows / 对行进行过滤
          11.1.3.8  Hiding and Displaying Columns / 隐藏或显示列
        11.1.4  Cell Rendering and Editing / 单元格的绘制和编辑
          11.1.4.1  Rendering Cells / 绘制单元格
          11.1.4.2  Rendering the Header / 绘制表头
          11.1.4.3  Editing Cells / 编辑单元格
          11.1.4.4  Custom Editors / 定制编辑器
      11.2  Trees / 树
        11.2.1  Simple Trees / 简单的树
        11.2.2  Node Enumeration / 节点枚举
        11.2.3  Rendering Nodes / 渲染节点
        11.2.4  Listening to Tree Events / 监听树事件
        11.2.5  Custom Tree Models / 定制树模型
      11.3  Advanced AWT / 高级AWT
        11.3.1  The Rendering Pipeline / 绘制图形的流程
        11.3.2  Shapes / 形状
          11.3.2.1  The Shape Class Hierarchy / Shape类层次结构
          11.3.2.2  Using the Shape Classes / 使用各种Shape类
        11.3.3  Areas / 区域
        11.3.4  Strokes / 画笔
        11.3.5  Paint / 着色
        11.3.6  Coordinate Transformations / 坐标变换
        11.3.7  Clipping / 剪切
        11.3.8  Transparency and Composition / 透明和组合
      11.4  Raster Images / 光栅图像
        11.4.1  Readers and Writers for Images / 图像的读取器和写入器
          11.4.1.1  Obtaining Readers and Writers for Image File Types / 获取图像文件类型的读取器和写入器
          11.4.1.2  Reading and Writing Files with Multiple Images / 读写包含多个图像的文件
        11.4.2  Image Manipulation / 图像处理
          11.4.2.1  Constructing Raster Images / 构建光栅图像
          11.4.2.2  Filtering Images / 图像过滤
      11.5  Printing / 打印
        11.5.1  Graphics Printing / 图形打印
        11.5.2  Multiple-Page Printing / 多页打印
        11.5.3  Print Services / 打印服务
        11.5.4  Stream Print Services / 流打印服务
        11.5.5  Printing Attributes / 打印属性
    Chapter 12:Native Methods / 本地方法
      12.1  Calling a C Function from a Java Program / 从Java程序中调用C函数
      12.2  Numeric Parameters and Return Values / 数值参数与返回值
      12.3  String Parameters / 字符串参数
      12.4  A
        12.4.1  Accessing Instance Fields / 访问实例字段
        12.4.2  Accessing Static Fields / 访问静态字段
      12.5  Encoding Signatures / 编码签名
      12.6  Calling Java Methods / 调用Java方法
        12.6.1  Instance Methods / 实例方法
        12.6.2  Static Methods / 静态方法
        12.6.3  Constructors / 构造器
        12.6.4  Alternative Method Invocations / 其他调用方法的手段
      12.7  Accessing Array Elements / 访问数组元素
      12.8  Handling Errors / 处理错误
      12.9  Using the Invocation API / 使用Invocation API
      12.10  A Complete Example:Accessing the Windows Registry / 完整示例:访问Windows注册表
        12.10.1  Overview of the Windows Registry / Windows注册表简介
        12.10.2  A Java Platform Interface for Accessing the Registry / 访问注册表的Java平台接口
        12.10.3  Implementation of Registry Access Functions as Native Methods / 以本地方法方式实现注册表访问功能